Enums: Date
Control date input behavior with explicit modes.
Date enums help you guide user input by selecting the most appropriate mode for your date fields.
How it works
Set DateInputMode on date inputs to hint the expected input format to browsers and device keyboards.
Examples
DateInputMode.Datefor date-only fields like birthdays.DateInputMode.DateTimefor scheduling date and time together.DateInputMode.Monthfor month-based reporting filters.
Reference
DateInputMode
Hints at the type of data that might be entered by the user while editing the date input.
DateInputMode.DateOnly date is allowed to be entered.DateInputMode.DateTimeBoth date and time are allowed to be entered.DateInputMode.MonthAllowed to select only year and month. Note that not all browser supports this mode