cmdk icon indicating copy to clipboard operation
cmdk copied to clipboard

Why can not use type=search for Command.Input

Open zecka opened this issue 2 years ago • 3 comments

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 :(

zecka avatar Aug 30 '23 08:08 zecka

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

mardausdennis avatar Nov 29 '23 14:11 mardausdennis

@pacocoursey

TheMikeyRoss avatar Mar 22 '24 02:03 TheMikeyRoss

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

steve-marmalade avatar May 02 '24 04:05 steve-marmalade