Open pedrobulano opened 3 years ago
Agree, i guess we could combine them and switch the view. https://material-ui-pickers.dev/demo/datetime-picker
That would be very nice.
Same requirement here, I've recently been swapping a project from MatBlazor to this one, however I can't remove MatBlazor entirely because it uses MatDateTimePickers.
I like the solution in the link above.
Closing this in favor of #1095 where a workaround is posted.
I would like to have a native component that does this. Essentially this is one of the most used fields in an application, and having to search workarounds on Github is suboptimal.
Also this workaround is for a DateTimeOffset, not a simple DateTime. Just saying.
Could you please reconsider opening this issue?
That would be awesome.
@vgb1993 do you want to work on such a component?
I have never done something alike, but could do if I understood the steps.
We could first talk about what this component should do?
One way is to add this workaround to the MudBlazor project, the other would be to create a custom picker, like the native html datetime picker.
The first way is easier but it's less efficient in regards of user interaction speed. I managed to incorporate the workaround in my project. So I could do this pretty easy ( I guess ).
The second option sounds more complex. But it would be amazing.
What do you think?
I agree, an integrated MudDateTimePicker like here https://material-ui-pickers.dev/demo/datetime-picker would be amazing.
As an alternative, we created MudDateWheelPicker
as extension. It both have date and time selection.
NuGet: https://www.nuget.org/packages/CodeBeam.MudExtensions/6.0.9 Try online: https://mudextensions.azurewebsites.net/muddatewheelpicker
I would love this compontent too. For the momenmt I have made a work around version. I want to share it here for other too. By any means is it perfect or bug free. It also doesn't support all the feature of both current date and time pickers.
I think there would be a lot of work need to be done to add full version. From my time looking at both the date and time picker currently. I see few options which the Core MudBlazor Team could go down:
MudBaseDatePicker
to MudBaseDateTimePicker
then allow option to hide either date or time. This would allow both MudTimePicker
and MudDatePicker
to not be effect and apart from inheritting from MudBaseDateTimePicker
and pre setting some options. This would help reduce code duplication and prevent having to expose functions from either to make DateTimePicker
work fully.MudTimePicker
and MudDatePicker/MudBaseDatePicker
public. However this could start to expose thing we don't want to.MudDateTimePicker
and maintain a 3rd date and time picker.Option 2 would probably be a good compromise
Any news on this?
Any news on this?
See draft PR by @ralvarezing: https://github.com/MudBlazor/MudBlazor/pull/7951
Any news on this?
Been busy with other projects lately and not able to work on this, but I'll see to resume dev
That PR Looks so close!
Hi. Please consider creating a new MudDateTimePicker component. It is available in almost all component libraries. I think that it will be very popular with developers.