react-spectrum
849e52ae - fix: prevent form submission when required Select has more than 300 options and no selection (#8280)

Commit
65 days ago
fix: prevent form submission when required Select has more than 300 options and no selection (#8280) * fix: prevent form submission when required Select has more than 300 options and no selection * fix: only block form submission if the validation behavior is native * fix: lint errors * fix: prevent invalid form control error and native error popup for visually hidden required input * fix: prevent visually hidden text input from affecting keyboard navigation * refactor: use display: none instead of visually hidden to hide the input * fix conflict where select would steal focus on invalid from previous invalid components --------- Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Robert Snow <snowystinger@gmail.com>
Author
Parents
Loading