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
Originally posted by sturatcliffe December 16, 2021
Hi all,
Has anyone else noticed some weird behaviour when using up-validate on a HTML date field? I've only checked in Chrome so far, but when you try to enter a date, it seems to trigger the validation request when entering the first character of the year part.
This means you end up not being able to complete the year part as when the validate request resolves and the form is re-rendered, the focus on the date field resets so you end up in an infinite loop of entering the day + month + first digit of the year.
Hopefully this GIF helps demonstrate it!
Has anyone found a way of stopping this behaviour so we can have Unpoly trigger validation on date/datetime fields?
Cheers.
The text was updated successfully, but these errors were encountered:
Discussed in #334
Originally posted by sturatcliffe December 16, 2021
Hi all,
Has anyone else noticed some weird behaviour when using
up-validate
on a HTML date field? I've only checked in Chrome so far, but when you try to enter a date, it seems to trigger the validation request when entering the first character of the year part.This means you end up not being able to complete the year part as when the validate request resolves and the form is re-rendered, the focus on the date field resets so you end up in an infinite loop of entering the day + month + first digit of the year.
Hopefully this GIF helps demonstrate it!
Has anyone found a way of stopping this behaviour so we can have Unpoly trigger validation on date/datetime fields?
Cheers.
The text was updated successfully, but these errors were encountered: