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

[@mantine/dates] Altering prop order of DateTimePicker's TimeInput #6204

Conversation

rodda-kyusu
Copy link
Contributor

After this issue, this code was merged which replaces the passed in minTime and maxTime prop in timeInputProps within the DateTimePicker component.

This PR alters the prop order such that a consumer can override minTime and maxTime if they desire.

This could help with certain functionality where a caller wants to prevent any time before e.g. 9AM on any day to be selected.

@rodda-kyusu rodda-kyusu changed the title Altering prop order of DateTimePicker's TimeInput [@mantine/dates] Altering prop order of DateTimePicker's TimeInput May 8, 2024
@rtivital rtivital merged commit 321d214 into mantinedev:master May 11, 2024
1 check passed
@rtivital
Copy link
Member

Thanks!

@rodda-kyusu rodda-kyusu deleted the min-max-time-not-overriding-passed-in-props branch May 13, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants