Skip to content

Conversation

@jhorstmann
Copy link

According to the whatwg html spec the name attribute can be any string:

Other than isindex, any non-empty value for name is allowed

Fixes #40

…ad of an ID

According to the [whatwg html spec][1] the `name` attribute can be any string:

> Other than `isindex`, any non-empty value for `name` is allowed

 [1]: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-name
@jhorstmann
Copy link
Author

I went through the "Forms" section of the whatwg spec to verify the affected elements. One notable element is fieldset, the declare macro does not list any attributes at all. I could add the attributes in this PR if wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Input elements "name" attribute should allow arbitrary strings instead of only ID

1 participant