Form filed conditional logic to disable or enable form fields dependencies. #1186
-
Hello Team I like feedback on design for conditional logic to form filed conditional logic to show or hide form fields dependencies. Product: Conditions:
By default when user loads this feature -- Data and SMS Commands features are enabled. Codesandbox example Looking for feedback on
Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I took a look at the codesandbox. Thanks for putting that together. I'm not seeing any glaring issues at the moment. A few answers/suggetions:
That all looks pretty good. I'll share with design to see if they have any further suggestions.
It may be helpful to add some copy about why certain fields are disabled. Something around "In order to set a data limit, enable data..."
I don't think input fields should be set to required and disabled a the same time. That may cause some validation errors. Your engineering team may need to dynamically add the required prop when the input field is enabled.
This styling is fine, but it'd be nice to add a I'll share with design to get more their feedback as well. |
Beta Was this translation helpful? Give feedback.
Hi @ishah-twilio
I took a look at the codesandbox. Thanks for putting that together. I'm not seeing any glaring issues at the moment. A few answers/suggetions:
That all looks pretty good. I'll share with design to see if they have any further suggestions.
It may be helpful to add some copy about why certain fields are disabled. Something around "In order to set a data limit, enable data..."
I don't think input fields should be set to required and disabled …