Patch Changes
-
#3410
2209f73Thanks
@segunadebayo! - Fixed issue where pressing Enter with an incomplete value did
nothing, blocking form submission and native validation.- Pressing Enter now always requests form submission, so the browser runs constraint validation.
- When
requiredis set, each input is marked required so the validation message points to the first empty input. - An incomplete value, or one with characters that don't match
type, now fails validation, and focus moves to a
visible input instead of the hidden one.
-
#3411
3abcef4Thanks
@segunadebayo! - Improved keyboard navigation and setup feedback.- Pressing
Ctrl/Cmd+ArrowLeft/ArrowRightnow moves focus to the first or last input (reversed in RTL). - Pressing
ArrowUp/ArrowDownnow moves focus to the first or last input, matchingHome/End. - Added a development warning when
countdoesn't match the number of rendered inputs.
- Pressing
-
Updated dependencies []:
- @zag-js/anatomy@1.46.0
- @zag-js/core@1.46.0
- @zag-js/types@1.46.0
- @zag-js/utils@1.46.0
- @zag-js/dom-query@1.46.0