We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As part of the user experience, I want to be able to close picker modals programmatically when the user selects the next field in the form. It seems that inside the PickerComponent, the _togglePicker function (https://github.com/MichaelCereda/react-native-form-generator/blob/master/src/lib/PickerComponent.ios.js#L53) does exactly this, but it's not accessible from outside the class.
Would it be possible to make this method publicly accessible?
The text was updated successfully, but these errors were encountered:
mm... it's possible but it's actually an antipattern. the react-way should be using the onChange function to set a prop on the component.
Sorry, something went wrong.
If you check the example you will notice that is possible to change the behavior of one field based on the value of another.
No branches or pull requests
As part of the user experience, I want to be able to close picker modals programmatically when the user selects the next field in the form.
It seems that inside the PickerComponent, the _togglePicker function (https://github.com/MichaelCereda/react-native-form-generator/blob/master/src/lib/PickerComponent.ios.js#L53) does exactly this, but it's not accessible from outside the class.
Would it be possible to make this method publicly accessible?
The text was updated successfully, but these errors were encountered: