Skip to content

Add md-no-asterisk to inputs #3681

@prowwid

Description

@prowwid

Bug, feature request, or proposal:

request

What is the current behavior?

There is no ability to remove asterisks from placeholders in inputs with required attribute.

What is the expected behavior?

We need an ability to disable asterisks on required inputs like in the first version of material UI by using "md-no-asterisk" attribute in input.

In the end, it would be good enough to have syntax like in the following example:
Plunker md-no-asterisk example

What is the use-case or motivation for changing an existing behavior?

For now, there are two hacks to remove asterisks from inputs:

  1. do not use "required" attribute
  2. use "required" attribute with hacks that would hide or remove automatically added asterisk

Both options are crutches. And as you know crutches are really bad things.

Metadata

Metadata

Assignees

Labels

featureThis issue represents a new feature or feature request rather than a bug or bug fixhelp wantedThe team would appreciate a PR from the community to address this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions