Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why can not use type=search for Command.Input #175

Open
zecka opened this issue Aug 30, 2023 · 3 comments
Open

Why can not use type=search for Command.Input #175

zecka opened this issue Aug 30, 2023 · 3 comments

Comments

@zecka
Copy link

zecka commented Aug 30, 2023

I try to implement a cross icon into the Command.Input (to reset the input content wihtout leaving focus).
Something like:

image

But type attribute seems to be Omit from Command.Input component (check /src/index.tsx#L51)

Is there any particular reason why the type is omitted from InputProps?

What do you suggest to implement the cross icon ?

edit: maybe this topic should be moved to discussion, but don't know how to move it :(

@mardausdennis
Copy link

This feature would be useful. I was wondering if there have been any updates or further discussions on this topic?

@TheMikeyRoss
Copy link

@pacocoursey

@steve-marmalade
Copy link

Came here looking for the same. I would like to customize the icon being displayed on smartphone keyboards by specifying type="search"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants