-
Hi team, a customer of mine is migrating their webchat to use conversations (using this repo as base) and in the pre-engagement form they added a Twilio Paste Combobox component marked as required but the validation is not shown. For the name and the email they are using an Input component and the validation is triggered if the fields are empty but not with the Combobox. Any ideas on this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @sakukreti, I threw together a quick Codesandbox based on your code in Slack. You may want to build your own field validation and use the HelpText component to display different error messages. We have some notes on how to manage validation on our docs. |
Beta Was this translation helpful? Give feedback.
Hey @sakukreti,
I threw together a quick Codesandbox based on your code in Slack.
I am able to reproduce what you've described. The input boxes get browser validation but Combobox does not. I believe this is intended, since the Combobox is a complex interaction; while it may use an HTML input under the hood, it has different behavior that don't necessarily map to browser validation.
You may want to build your own field validation and use the HelpText component to display different error messages. We have some notes on how to manage validation on our docs.