Skip to content

Search-Box Warning- A form field element has neither an id nor a name attribute #15

@yaddly

Description

@yaddly

Hi @use-bootstrap team, I'm getting this warning from search-box input controls :

A form field element has neither an id nor a name attribute. This might prevent the browser from correctly auto-filling the form. To fix this issue, add a unique id or name attribute to a form field. This is not strictly needed, but still recommended even if you have an autocomplete attribute on the same element.

See attachment for your kind attention.

May you please consider using the parent's select id and name attribute values with a search appended to it. This way each search-box will have unique value for id and name that is derived from the parent select element.

Screenshot 2024-08-07 140933

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions