Opened 5 years ago

Last modified 4 years ago

#15282 new feature

Check if a date is disabled on a Datepicker

Reported by: Joel Christophel Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Joel Christophel)

Similar tickets have been opened before, but I hope to make a new case for this feature's inclusion.

The main argument against it seems to be that we could simply name our beforeShowDay and use that to determine the state of a given date.

However, this disregards the idea of encapsulation. I shouldn't need the information I used to create an entity in order to glean info about the entity.

What if I don't have access to the validation function used to create the picker? What then?

Change History (2)

comment:1 Changed 5 years ago by Joel Christophel

Description: modified (diff)

comment:2 Changed 4 years ago by Scott González

Component: ui.coreui.datepicker
Note: See TracTickets for help on using tickets.