|
|
@ -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) |
|
|
@ -92,6 +93,7 @@ export default function DropdownInputPair ({ |
|
|
|
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, |
|
|
|
} |
|
|
|
} |
|
|
|