Disable dates on a date field
Question
Application Type
Reactive

Hello everyone! 


I am building a reactive application and I have two fields on date format. I would like to disable the past dates of the field, so the user can only select dates from today on. Does anyone know if I can make it on the field date?

PS: I am not using a DatePicker, only a regular date field. 


Thanks

mvp_badge
MVP
Solution

Hi,

You can set min and max property for date filed.

min='1899-01-01' max='2000-01-01

so other date will be disabled and their is also related post on forum regarding same you can find it.


Thanks for your help.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.