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

[Pickers][internal] Sort properties #25473

Merged
merged 1 commit into from Mar 23, 2021
Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Mar 23, 2021

Properties are sorted ascending, case insensitive unless they "obviously" belong together. Then we sort them in the order that makes "sense" e.g. minDate < maxDate (sorting numerically) or disablePast < disableFuture (sorting temporally).

This should help find a specific property in an interface.

@eps1lon eps1lon added the component: pickers This is the name of the generic UI component, not the React module! label Mar 23, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Mar 23, 2021

Details of bundle changes

Generated by 🚫 dangerJS against 83bc51d

@eps1lon eps1lon marked this pull request as ready for review March 23, 2021 10:41
@eps1lon eps1lon merged commit 2a73a44 into mui:next Mar 23, 2021
@eps1lon eps1lon deleted the chore/pickers/sort branch March 23, 2021 11:31
@oliviertassinari oliviertassinari changed the title [pickers][internal] Sort properties [Pickers][internal] Sort properties Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants