-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refs on inputs #55
Comments
Use react |
Hmm, that much I know ... since I'm talking about wanting to use refs ;) The problem is that you render input INSIDE your Input control, therefore the ref belongs to the Input control, not the parent containing control. So I simply cannot access the ref'd component. |
@tomitrescak OK, I see. Sorry, I misunderstand. You could add custom like: <Input>
<input placeholder="Search..." type="text" />
</Input> It would become <div class="ui input">
<input placeholder="Search..." type="text" />
</div> PS. If you do this, |
Thanks for this wonderful package. I have a question concerning handling of refs on form elements. How can I approach this? I need a value from the input control. Thanks!
The text was updated successfully, but these errors were encountered: