-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Feature Description
Please add an option to MatFormFieldDefaultOptions to hide the required marker on the field.
This will allow us to default all form fields to hide the required marker instead of specifying the hideRequiredMarker input on each one. Add the field to MatFormFieldDefaultOptions and default the value of the hideRequiredMarker input of MatFormField this this value (I think this is trivial)
Use Case
In our app our UX team wants all fields required by default, so the required marker is overkill. We have to specify hideRequiredMarker on every single usage of MatFormField which is tedious and becomes error prone. Add this feature would eliminate this issue for us.
Metadata
Metadata
Assignees
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix