You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
a. should only validate when leaving the field (this is a validation setting)
b. should be valid
c. also test with 24 time like: 'HH:mm' and make sure all works
d. ensure the mask works with each case too
Additional context
Cases:
HH.mm (24 hr) -> 22:00
hh:mm a(12 hr) -> 08:01 AM
H:mm (24 hr no padded zero) -> 8:00 or 21:00
h:mm a (12 hr no padded zero) -> 8:00 AM
The text was updated successfully, but these errors were encountered:
* main: (30 commits)
Add func test for strictTime no day period time #805
Add strict check for minutes and day periods with strictTime option #805
Add date validation examples #805
Adjust time validation for ids-input #805
fix types for error TS2611
update changelog
Fix build copy command
chart types
test cleanup, fix lint
more component type fixes
more component type fixes
tabs, month/week view, date/time picker types
merge main type fix
checkbox, editor, form types
dropdown, pager, progress, upload, lookup types
block-grid-item type
about, accordion, actionpanel, tree, ratings types
menu, popupmenu, trigger field, toolbar types
ids input, toast, trigger button
button, toast, treemap, upload types
...
Describe the bug
The validation doesnt work right for time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
a. should only validate when leaving the field (this is a validation setting)
b. should be valid
c. also test with 24 time like: 'HH:mm' and make sure all works
d. ensure the mask works with each case too
Additional context
Cases:
HH.mm (24 hr) -> 22:00
hh:mm a(12 hr) -> 08:01 AM
H:mm (24 hr no padded zero) -> 8:00 or 21:00
h:mm a (12 hr no padded zero) -> 8:00 AM
The text was updated successfully, but these errors were encountered: