Replies: 1 comment
-
The ability for the user to write whatever he or she wants into a DatePicker is by design. At present, it is not possible to set an input mask on this component. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to add some validation for the FluentDatePicker.
I understand it is not yet fully supported:
But it is not clear what is supported.
I'm using Microsoft.FluentUI.AspNetCore.Components v4.11.3 with .NET 8
I have this property:
And I use it like this:
On the page I get the correct date picker. When I click in the inputbox the calender pops up.
This all fine, but I can also type in the inputbox, even text!
I also tried using
@onkeydown
and@oninput
:But that didn't work either.
How to prevent this. The user should not be able to type in stuff that is not related to a date.
Beta Was this translation helpful? Give feedback.
All reactions