logoalt Hacker News

pwdisswordfishq • today at 7:01 AM • 1 reply • view on HN

Does onchange → setCustomValidity not do the job?


Replies

JimDabell • today at 7:19 AM

That lets you bring up the picker, let the user pick any date, and then show an error message if they picked an unavailable one. It doesn’t let you show dates as unavailable in the picker or prevent the user from picking them.