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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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.