Skip to content

[select] ID prop is not forwarded to hidden input #2005

@tomshane

Description

@tomshane

Bug report

Current behavior

When setting ID for CheckBox.Root, Switch.Root and Radio.Root, it is not forwarded to inner hidden input.

Expected behavior

Select.Root ID should be applied and should override ID of the inner input element.

Base UI version

1.0.0-beta.0

Which browser are you using?

Chrome

Which OS are you using?

Windows

Additional context

I need to set ID for the component's inner input to be used together with my custom label (attribute hmltFor).

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: selectChanges related to the select component.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions