You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TimePicker component has an option to disable the hours using disabledHours property.
For pure example, let's say that I want to disable even hours (like 2, 4, 6 etc.). How am I suppose to do that? I can't compare the time.
Don't really know if I explained it clearly. If not, then please go ahead and try my example above (with even hours being disabled) - you will see what I mean.
What is expected?
The function should have hour attribute so I can compare it and return a specific boolean.
What is actually happening?
Nothing to compare it with. The function doesn't have any argument.
The text was updated successfully, but these errors were encountered:
Version
3.0.3
Environment
not important
Reproduction link
http://not.important
Steps to reproduce
The
TimePicker
component has an option to disable the hours usingdisabledHours
property.For pure example, let's say that I want to disable even hours (like 2, 4, 6 etc.). How am I suppose to do that? I can't compare the time.
Don't really know if I explained it clearly. If not, then please go ahead and try my example above (with even hours being disabled) - you will see what I mean.
What is expected?
The function should have
hour
attribute so I can compare it and return a specific boolean.What is actually happening?
Nothing to compare it with. The function doesn't have any argument.
The text was updated successfully, but these errors were encountered: