Comments (7)
Hi,
You can use the referenceDate
prop to change the default minutes (see this example)
But the default behavior should probably be smarter (cc @LukasTy)
from mui-x.
Thank you, It's work 🚀🚀🚀
from mui-x.
I'll keep the issue open to track the progress of the built-in support (if we want to improve it)
from mui-x.
I have one more question. If I want to reset row minute after select new hour value, How can I do?
from mui-x.
You could probably analyse the value passed to onChange
and when the hour changes between the old and the new value, you reset the minutes.
But there is no specific API to help you do that 👍
from mui-x.
But the default behavior should probably be smarter
Good point. We could add a similar improvement as we have with the DateCalendar
, where it will look for the closest non-disabled date when navigating the calendar.
from mui-x.
That would be a great improvement 👌
from mui-x.
Related Issues (20)
- [docs] Customization playground - simplify customization token options
- [support] Improve priority support HOT 1
- [data grid] `onFilterModelChange` fires with stale field value HOT 4
- [pickers] Date/Time/Date-Time Picker: Clear date with clear icon in Datepicker Textfield HOT 6
- [data grid] `singleSelect` with empty value option moved to the last HOT 2
- [datagrid] Make quickfilter search by date HOT 8
- [Charts] If a chart is in a drawer, it's tooltip is not visible (it is below the drawer) HOT 1
- [Data Grid] Hide tooltip when row is not being displayed HOT 2
- datagrid pro infinite scroll with custom quick filter losing focus immediately after typing HOT 1
- Exporting Not working for master/detail HOT 15
- [charts] Allows to get clicks from pie slice HOT 1
- Automatically Save / Restore State HOT 20
- Columns are shrinked when drawer or dialog is opened HOT 5
- [datagrid] `autosizeColumns` does not work HOT 20
- [data grid] Filter panel form fail to update when `filterModel` changes HOT 6
- [pickers] TimePicker closing on selection when closeOnSelect is false HOT 4
- [playground] Wrong conversion between theme overrides vs sx prop HOT 1
- [question] Change "-" to "a" in the SingleInputDateRangeField component HOT 7
- [pickers] DatePicker can be cleared when disabled HOT 1
- [DataGridPro] Incorrectly inheriting height from CSSGrid / Flexbox child since 6.2.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.