Hello
I have a date picker on an edit form setup like this:
<SfDatePicker id="selected-receipt-date" CssClass="e-outline" StrictMode=true Min="AppStateService.MinEntryDate" Max="AppStateService.MaxEntryDate" Format="@AppStateService.CultureDateFormat" TValue="DateTime" @bind-value="SelectedReceipt.ReceiptDate" Placeholder="Date" FloatLabelType="@FloatLabelType.Auto"></SfDatePicker>
When @AppStateService.CultureDateFormat = "dd/mm/yyyy" then I would like the user to be able to enter any of the following (by typing rather than using the calendar and mouse):
- 09/12/2023
-
9/12/2023
- 9/12/23
Since strict mode is set to true then all but the top example above fail. If I switch strict mode to false then it allows entry but my validation fires. Ideally it would be great if the control would accept any of the above inputs, but automatically changed them to display 09/12/2023.
It's actually quite important for rapid data entry.
Is this possible?
Many thanks