Open firashamila33 opened 3 years ago
@firashamila33 Hi, I have the same problem. Were you able to solve it or find a workaround?
I have solved this problem with the help of dateSelected event of owl-date-time. Moreon that here: https://stackoverflow.com/a/76218420/11336654
I am using
owl-date-time-inline
withrange
asselectMode
Use case : when a user selects a
from Date
, I want to limit thedate To
selection, for example, the user can only select a range of 5 days ( 170 hours ).[max]
property but didn't workowlDateTimeFilter
property to a function that blocks the dates, but that function gets triggered before ngModelChange is triggeredts component Code:
Html component