Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Angular incorrectly enforces the name attribute to create bindings on inputs #153

@esprehn

Description

@esprehn

The HTML spec says that name is not required so angular should not force people to use it.

Ex.
It's very common to use inputs to show copy/pasteable data. For instance
<textarea readonly>code snippet</textarea>
since select all with that field in focus will select all text.

Angular creates an ng-exception on the element because the name attribute is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions