react-rainbow
react-rainbow copied to clipboard
DateTimePicker with time constraints
Time constraints 🤔
Time constraints should be added to the DateTimePicker, I found Date constraints but there is no option for time constraints.
Time should also have constraints!
@AWIXOR can you provide us with an example of how do you expect this could be used? In the meantime, you can add custom validation and passing an error when the time selected is out of bounds
@LeandroTorresSicilia For example: what is I want to build tweet scheduling app, and what to use the DateTimePicker
only to choose available time, exactly from the moment you are trying to pick the time, by disabling all passed ours in the day.
I used custom validation as you said in my app because I didn't found this feature in any DatePickers
in the web.
I am trying to get this working too. the only thing possible right now is to get the date min property to todays date. There is no actual way to do the same thing for the time because there is no actual property that allows it.
Maybe something to add as a new feature?