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
I am getting my value in state.those values in state i want selected in SelectWidget. And after i can change from female to Male.
this.state = { gender:F } <GiftedForm.ModalWidget title='Gender' displayValue='gender' image={require('../../assets/icons/color/gender.png')} > <GiftedForm.SeparatorWidget />
<GiftedForm.SelectWidget name='gender' title='Gender' multiple={false}> <GiftedForm.OptionWidget image={require('../../assets/icons/color/female.png')} title='Female' value='F'/> <GiftedForm.OptionWidget image={require('../../assets/icons/color/male.png')} title='Male' value='M'/> </GiftedForm.SelectWidget> </GiftedForm.ModalWidget>
The text was updated successfully, but these errors were encountered:
Hey @gauravverma029. It's on the docs, check the readme file:
<GiftedForm formName='signupForm' defaults={{ 'gender{M}': true }}
Sorry, something went wrong.
if you set default value with code 'gender{M}': true, it will display 'M' instead of 'Made'.
No branches or pull requests
I am getting my value in state.those values in state i want selected in SelectWidget. And after i can change from female to Male.
this.state = {
gender:F
}
<GiftedForm.ModalWidget
title='Gender'
displayValue='gender'
image={require('../../assets/icons/color/gender.png')}
>
<GiftedForm.SeparatorWidget />
The text was updated successfully, but these errors were encountered: