techouse / intl-date-time

International DateTime for Laravel Nova
MIT License
57 stars 21 forks source link

Please add client side validation #7

Closed wemersonrv closed 5 years ago

wemersonrv commented 5 years ago

As you told me in this issue: #5 i am opening this to request a feature to client side validation in a specific case... See the image below:

intl

User add only 05 and Field assumes current year and month and make a validad date from 2019-05-05 00:00:00.

Many times, when putting far away dates (as my birth date lol)... is boring to use visual date component to get back until 1973 or older dates and i's better manually type the date. If user add a invalid value like 05/0 it will result in a invalid date, fine in this case... but if user add a part of date like only 5 will be accepted as a valid date but in my opinion is not valid.

techouse commented 5 years ago

Client side validation added in v1.2.0