New view picker (#4610)
* Implement new view picker * Complete feature * Fixes according to review
This commit is contained in:
+2
-2
@@ -30,12 +30,12 @@ const StyledInputContainer = styled.div`
|
||||
export const DropdownMenuInput = forwardRef<
|
||||
HTMLInputElement,
|
||||
InputHTMLAttributes<HTMLInputElement>
|
||||
>(({ autoFocus, defaultValue, placeholder, onChange }, ref) => {
|
||||
>(({ autoFocus, value, placeholder, onChange }, ref) => {
|
||||
return (
|
||||
<StyledInputContainer>
|
||||
<StyledInput
|
||||
autoFocus={autoFocus}
|
||||
defaultValue={defaultValue}
|
||||
value={value}
|
||||
placeholder={placeholder}
|
||||
onChange={onChange}
|
||||
ref={ref}
|
||||
|
||||
Reference in New Issue
Block a user