The component accepts
Date values and updates the model each time a selection is changed.
The template-driven forms enable you to bind the Calendar to the model by using the
The following example demonstrates how to accomplish a two-way binding by using the
FormGroup decorator provides a way to render reactive forms. For more details, refer to the Angular documentation.
The following example demonstrates how to use the Calendar in a reactive form.
The following example demonstrates the usage of the Calendar within a FormField with hint and error messages.