You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Input label/placeholder asterix (*) is appended based on FormControl - Validators.required and not just the HTML 'required' element attribute. The code should check the required attribute and the FormControl Validators for auto inserting the asterix.
What is the current behavior?
Required asterix only works with the input required attribute.
What is the use-case or motivation for changing an existing behavior?
Reactive forms moves the validation complexity away from markup and onto the code; this forces the markup and code to have the same duplicate required validation.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest ng/mat 5.x
The text was updated successfully, but these errors were encountered:
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Input label/placeholder asterix (*) is appended based on FormControl - Validators.required and not just the HTML 'required' element attribute. The code should check the required attribute and the FormControl Validators for auto inserting the asterix.
What is the current behavior?
Required asterix only works with the input required attribute.
What is the use-case or motivation for changing an existing behavior?
Reactive forms moves the validation complexity away from markup and onto the code; this forces the markup and code to have the same duplicate required validation.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest ng/mat 5.x
The text was updated successfully, but these errors were encountered: