[BUG] A form field element should have an id or name attribute - HTML validity
Spb8Lighting opened this issue · comments
Sylvain Guiblain commented
- I have looked through the documentation to try to see if this behavior is documented.
- I have looked at the demos to see if one of them handles this, but none of them did.
Describe the bug
This is not really a bug, but more HTML recommendation which is not followed for inputs/selects DOM nodes. These last had no name attribute or id attribute (even if not useful), but it generates infos log in the console.
To Reproduce
Access the Simple demo page and take a look at the console:
Expected behavior
The generated select/input has a dedicated name attribute set to avoid the generic console infos messages.