You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many cases where it makes sense to override the props of the components.
Examples:
aria-label of e.g. CommandLoading and CommandList to support multi language
aria-expanded of CommandInput, which is always true currently, but should only be true, when the input has focus or after typing, when the list is shown
type of CommandInput to let users only insert numbers for instance
There is already a PR for it #117, but I created a new one #202
Here is a code sandbox, where we can see the problem
Maybe we can realize it?
The text was updated successfully, but these errors were encountered:
Glad to see @gylxan that someone also pick up the topic with overwriting props. For me the most important part is with type of command input. Topic also arise in #175 and for me the crucial part with changing type is that on mobile I can force browser to use specific type of keyboard :)
There are many cases where it makes sense to override the props of the components.
Examples:
aria-label
of e.g.CommandLoading
andCommandList
to support multi languagearia-expanded
ofCommandInput
, which is alwaystrue
currently, but should only betrue
, when the input has focus or after typing, when the list is showntype
ofCommandInput
to let users only insert numbers for instanceThere is already a PR for it #117, but I created a new one #202
Here is a code sandbox, where we can see the problem
Maybe we can realize it?
The text was updated successfully, but these errors were encountered: