Skip to content
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

Adds getInputRef to the CustomInput #329

Merged

Conversation

CoreyWinkelmannPP
Copy link

We are using material ui text inputs and need the ability to programmatically trigger focus on the custom input. This adds this capability and I wasn't sure if there was a reason this wasn't propagated to custom inputs. I also wasn't sure what is easiest for you associated to the library. I didn't submit this pull request with the built resources but if you would like that let me know and I will compile it and commit that. Thanks for the number format library!

@s-yadav s-yadav merged commit 3e7af74 into s-yadav:master Aug 5, 2019
s-yadav added a commit that referenced this pull request Aug 5, 2019
- Allow getting customInput ref using getInputRef. #329 (By @cawinkelmann)
@s-yadav
Copy link
Owner

s-yadav commented Aug 5, 2019

I also don't think there should be any reason to not allow getting custom input reference using getInputRef props.
Released this on v4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants