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
I'm trying to create a range time picker with this component (two fields to select start and end times). The feature I am looking for is to define max value for the time picker, so the user couldn't select a bigger value than the defined one.
The problem is that I can define max hours, minutes and seconds, but that only makes things complicated.
If my max time is 2 hours 15 minutes and 15 seconds, that means that if a user selects 1 hour, there should be no limit for minutes and seconds and if a user selects 2 hours, then the max minutes should be limited to 15 minutes and so on with seconds.
For that, I have to create a long script to detect user selection and based on the selection, define the max minutes and max seconds.
It would be much more convenient if you could just define max seconds (the same way you can do in HTML input type="time" max attribute) and based on that value, you wouldn't be able to select a bigger overall time value.
The text was updated successfully, but these errors were encountered:
I'm trying to create a range time picker with this component (two fields to select start and end times). The feature I am looking for is to define max value for the time picker, so the user couldn't select a bigger value than the defined one.
The problem is that I can define max hours, minutes and seconds, but that only makes things complicated.
If my max time is 2 hours 15 minutes and 15 seconds, that means that if a user selects 1 hour, there should be no limit for minutes and seconds and if a user selects 2 hours, then the max minutes should be limited to 15 minutes and so on with seconds.
For that, I have to create a long script to detect user selection and based on the selection, define the max minutes and max seconds.
It would be much more convenient if you could just define max seconds (the same way you can do in HTML input type="time" max attribute) and based on that value, you wouldn't be able to select a bigger overall time value.
The text was updated successfully, but these errors were encountered: