Replies: 1 comment
-
You'll run into one issue technically -- Otherwise, I think you're OK. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a requirement where I have to conditionally display only one Form.Control but the values entered in them should be updated in the same state variable in my React Component
Control 1:
<Form.Control name="expiryFormdate" as="select"...>
Control 2:
<Field name="expiryFormdate" component={this.datePickerComponent}>
At a time only one Component will be visible and another one will be conditionally hidden. Would using the same name "expiryFormdate" for both of them cause any issues even if only one is visible?
Beta Was this translation helpful? Give feedback.
All reactions