Skip to content

Allow passing classNames to the input element #598

@petetnt

Description

@petetnt

Correct me if I am wrong, but currently you can set the outer element classes via className and use optionRenderer to add whatever classes you want for the options, but there's currently no way to directly pass classes for the input element.

Of course use child selectors and the main <Select> classNames, if you absolutely need to, but passing classNames to the input element itself would be a nice convenience to have for some situations (such as passing validation classes directly et cetera).

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-confirmedIssues about a bug that has been confirmed by a maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions