diff --git a/cmdk/src/index.tsx b/cmdk/src/index.tsx index 1547b27..7c60721 100644 --- a/cmdk/src/index.tsx +++ b/cmdk/src/index.tsx @@ -798,7 +798,6 @@ const Input = React.forwardRef((props, forwardedRe return ( ((props, forwardedRe aria-autocomplete="list" role="combobox" aria-expanded={true} + type="text" + {...etc} aria-controls={context.listId} aria-labelledby={context.labelId} aria-activedescendant={selectedItemId} id={context.inputId} - type="text" value={isControlled ? props.value : search} onChange={(e) => { if (!isControlled) {