Skip to content

[Feature Request] Allow clearing of Input #385

@jdhenry08

Description

@jdhenry08

Currently, the Input component's type is hardcoded to "text" (line 816):
https://github.com/pacocoursey/cmdk/blob/d6fde235386414196bf80d9b9fa91e2cf89a72ea/cmdk/src/index.tsx#L802-L825

This means we can't set it to "search" in order to support browsers' built-in clear functionality/user agent styling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions