fiduswriter / simple-datatables

DataTables but in TypeScript transpiled to Vanilla JS
Other
1.31k stars 231 forks source link

[BUG] A form field element should have an id or name attribute - HTML validity #371

Closed Spb8Lighting closed 2 months ago

Spb8Lighting commented 4 months ago

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: image

Expected behavior The generated select/input has a dedicated name attribute set to avoid the generic console infos messages.