Skip to content

Required on select input doesn't work if name is not given #1807

@bertie-sektorcert

Description

@bertie-sektorcert

Change Type

Correction

Proposed Changes

On the root element for the select component, the hidden input is not rendered unless a name is given. As such, the required attribute for the select input doesn't have any effect if name has not been provided, as there is not rendered any input element for the required attribute to be applied to. This should probably be documented

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributions welcomeOpen to contributionsdocsImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions