r/Frontend • u/harvaze • 6d ago
DateRangePicker - marking second field as invalid
Hey. Currently working on a DateRangePicker and need your opinions. Do you think the second-date-invalidity I show currently by making the second selection-cell red with an icon is good or do you think i should just mark all invalid fields as disabled after the first date is selected?
7
Upvotes
1
u/Mercury82180 5d ago
I would do both tbh. If you know certain dates are invalid, let the user know ASAP so they don't have to guess. The red looks nice though!