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
Please Check this Link
https://stackoverflow.com/questions/49082122/react-native-gifted-form-how-to-pass-dynamic-option-values-in-selectwidget
The text was updated successfully, but these errors were encountered:
I think what you want is:
this.state = { optionValue :[ {value:'3',title:'A'}, {value:'4',title:'B'}, ] }
<GiftedForm.SelectWidget name='staff' multiple={true} > {this.state.optionValue.map(obj => ( <GiftedForm.OptionWidget key={[your random key method]} title={obj.title} value={obj.value} /> ))} </GiftedForm.SelectWidget>
Sorry, something went wrong.
How to pass dynamic Data in option values in selectwidget
you cannot pass dynamic data to selectWidget, it only support hardcode data. you should use the other package before you have to regret like me!
No branches or pull requests
Please Check this Link
https://stackoverflow.com/questions/49082122/react-native-gifted-form-how-to-pass-dynamic-option-values-in-selectwidget
The text was updated successfully, but these errors were encountered: