Hello, I have a question about validations.

How can I validate a DatePicker to not allow choosing a date lower than the current day?


Thanks

Solution

Hello Carolina, you have a property on the DatePicker that is the MinDate, just define it as Currdate().

Best Regards

Solution

Hi Carolina Martins,

Take a look into the Date Picker Documentation, more properly to the maxDate and MinDate input parameters.

Hope it helps.
Samuel

Paulo Zacarias  wrote:

Hello Carolina, you have a property on the DatePicker that is the MinDate, just define it as Currdate().

Best Regards

Thanks Paulo Zacarias it worked, it was so simple.


Samuel M. wrote:

Hi Carolina Martins,

Take a look into the Date Picker Documentation, more properly to the maxDate and MinDate input parameters.

Hope it helps.
Samuel


Thank you Samuel M. for the help.