|
|
@ -36,6 +36,7 @@ export default function DropdownInputPair ({ |
|
|
|
loading, |
|
|
|
loading, |
|
|
|
hideItemIf, |
|
|
|
hideItemIf, |
|
|
|
listContainerClassName, |
|
|
|
listContainerClassName, |
|
|
|
|
|
|
|
autoFocus, |
|
|
|
}) { |
|
|
|
}) { |
|
|
|
const [isOpen, setIsOpen] = useState(false) |
|
|
|
const [isOpen, setIsOpen] = useState(false) |
|
|
|
const open = () => setIsOpen(true) |
|
|
|
const open = () => setIsOpen(true) |
|
|
@ -91,7 +92,8 @@ export default function DropdownInputPair ({ |
|
|
|
onChange={onTextFieldChange} |
|
|
|
onChange={onTextFieldChange} |
|
|
|
fullWidth |
|
|
|
fullWidth |
|
|
|
margin="dense" |
|
|
|
margin="dense" |
|
|
|
value={ inputValue } |
|
|
|
value={inputValue} |
|
|
|
|
|
|
|
autoFocus={autoFocus} |
|
|
|
/> |
|
|
|
/> |
|
|
|
)} |
|
|
|
)} |
|
|
|
{ |
|
|
|
{ |
|
|
@ -123,4 +125,5 @@ DropdownInputPair.propTypes = { |
|
|
|
loading: PropTypes.bool, |
|
|
|
loading: PropTypes.bool, |
|
|
|
hideItemIf: PropTypes.func, |
|
|
|
hideItemIf: PropTypes.func, |
|
|
|
listContainerClassName: PropTypes.string, |
|
|
|
listContainerClassName: PropTypes.string, |
|
|
|
|
|
|
|
autoFocus: PropTypes.bool, |
|
|
|
} |
|
|
|
} |
|
|
|