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)
- [data grid] Indicate a loading state when searching through quick filter in datagridpro. HOT 3
- [charts] Overlap on legend in ResponsiveChartContainer HOT 2
- [pickers] expired package version HOT 3
- [data grid] How to put links on elements of a grouping column ? HOT 7
- [docs] Add Tailwind setup and examples
- [pickers] Datepicker prop view doesn't controll the visible view HOT 3
- [DataGrid] Issue while resizing with pinned columns HOT 1
- [data grid] Grid has inconsistent background HOT 3
- [pickers] disable autofocus to start when selecting end-range HOT 1
- [data grid] Support scrolling in any direction HOT 1
- [data grid] How can I add an event handler on each row to handle file drops HOT 3
- [pickers] Build error because of `@mui/utils/clamp` HOT 7
- [pickers][MobileDatePicker] Too much recursion error when using MobileDatePicker inside a IonModal component HOT 1
- [data grid] Filter panel columns customize HOT 3
- [pickers][DateRangePicker] Separately disable start and end date picking HOT 4
- [data grid] Multi Selection functionality in the Columns visibility panel HOT 1
- [data grid] `valueGetter` row is always never HOT 3
- [license] I just bought a new license and got a new license key, but I don't want to change my previous key. HOT 5
- [data grid] Is there a property to tell the grouping row column to ignore the valueFormatter/renderCell ? HOT 1
- [data grid] How do I save the filtered row data to state? HOT 6
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.