Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Would it be possible for the ejs-datepicker (and other date style pickers) to use the validator to set the max property so it doesn't have to be set in both the TS file using the FormValidators.max(this.dateMax)
and the HTML file using the [max]="dateMax"
attribute?
https://stackblitz.com/edit/angular-syncfusion-date-picker-validation-6phekv?file=app.component.html
This would remove the requirement to specify the max/min twice.
FormValidators.max(this.dateMax)
is required to add validator[max]="dateMax"
is required to disabled dates in the dropdown.