Open danielgarner365 opened 1 week ago
I found related discussions that might be helpful:
https://github.com/twilio-labs/paste/discussions/3797#discussioncomment-8634455 This discussion suggests that when dealing with user input in a Combobox, it might be safer to leave the input and provide an error message if the user forgets to select an option they typed.
https://github.com/twilio-labs/paste/discussions/2885#discussioncomment-7017076 The issue here was resolved by ensuring that the required property works correctly with both Combobox and MultiselectCombobox components.
https://github.com/twilio-labs/paste/discussions/2851#discussioncomment-4267527 This discussion explains that browser validation does not apply to Combobox components due to their complex interactions. It suggests building custom field validation and using the HelpText component to display error messages, with additional guidance available in the documentation.
Hey @danielgarner365 ! You can check out the 3rd link Dosubot posted above for our response to a similar question.
I'll close this issue in a bit unless you have more questions.
Description
When I have a ComboBox with required set inside a Form, I expect the following:
Link to Reproduction
https://codesandbox.io/p/sandbox/twilio-paste-combobox-required-debugging-ty4ftj
Steps to reproduce
Paste Core Version
latest
Browser
Google Chrome 129.0.6668.101 (Official Build) (arm64)
Operating System
Additional Information
No response