Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimePicker.RangePicker disabled values per start/end index #22937

Closed
1 task
x1mrdonut1x opened this issue Apr 5, 2020 · 1 comment
Closed
1 task

TimePicker.RangePicker disabled values per start/end index #22937

x1mrdonut1x opened this issue Apr 5, 2020 · 1 comment
Labels

Comments

@x1mrdonut1x
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

With the current implementation, it is only possible to set disabledHours, disabledMinutes and disabledSeconds for both startTime and endTime.
I would like to be able to choose disabled values in the first and second input separately.

What does the proposed API look like?

disabledHours = () => [Number] |
               [() => [Number], () => [Number]]
disabledMinutes = (selectedHour) => [Number] | 
                 [(selectedHour) => [Number], (selectedHour) => [Number]]
disabledSeconds = (selectedHour, selectedMinute) => [Number] | 
                 [(selectedHour, selectedMinute) => [Number] , (selectedHour, selectedMinute) => [Number] ]
@afc163
Copy link
Member

afc163 commented Dec 10, 2021

Duplicate of #33237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants