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
Actually there's an property in input called required. I'm wondering if is there any chance to have it built-in in reactive forms? I mean, if an input has the Validators.required it will automatically shows the asterisk indicating that's required. To disallow this behavior people could use [hideRequiredMarker ]="true".
What is the current behavior?
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 2.0.0-beta.6
Is there anything else we should know?
It would help a lot since you wouldn't need to put Validators.required in component and also [required] in template.
The text was updated successfully, but these errors were encountered:
Bug, feature request, or proposal:
Feature Request.
What is the expected behavior?
Actually there's an
property
ininput
calledrequired
. I'm wondering if is there any chance to have it built-in in reactive forms? I mean, if an input has theValidators.required
it will automatically shows theasterisk
indicating that's required. To disallow this behavior people could use[hideRequiredMarker ]="true"
.What is the current behavior?
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 2.0.0-beta.6
Is there anything else we should know?
It would help a lot since you wouldn't need to put
Validators.required
in component and also[required]
in template.The text was updated successfully, but these errors were encountered: