Skip to content
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

Closed
esprehn opened this issue Nov 17, 2010 · 2 comments
Closed

Comments

@esprehn
Copy link
Contributor

esprehn commented Nov 17, 2010

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.

@IgorMinar
Copy link
Contributor

+1

we should simply ignore input like elements which don't have name specified

@mhevery
Copy link
Contributor

mhevery commented Dec 11, 2010

Closed by 0b511ffe06dd233d39c6739494002c5f77b7cc3a: input widgets without name are ignored

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants