mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 07:01:04 +03:00
@@ -114,7 +114,7 @@ export const AsyncDropdown = ({
|
|||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
disableClearable={disableClearable}
|
disableClearable={disableClearable}
|
||||||
size='small'
|
size='small'
|
||||||
sx={{ width: '100%', height: '52px' }}
|
sx={{ mt: 1, width: '100%' }}
|
||||||
open={open}
|
open={open}
|
||||||
onOpen={() => {
|
onOpen={() => {
|
||||||
setOpen(true)
|
setOpen(true)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export const Dropdown = ({ name, value, options, onSelect, disabled = false, dis
|
|||||||
let [internalValue, setInternalValue] = useState(value ?? 'choose an option')
|
let [internalValue, setInternalValue] = useState(value ?? 'choose an option')
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FormControl sx={{ width: '100%', height: '52px' }} size='small'>
|
<FormControl sx={{ mt: 1, width: '100%' }} size='small'>
|
||||||
<Autocomplete
|
<Autocomplete
|
||||||
id={name}
|
id={name}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export const MultiDropdown = ({ name, value, options, onSelect, formControlSx =
|
|||||||
let [internalValue, setInternalValue] = useState(value ?? [])
|
let [internalValue, setInternalValue] = useState(value ?? [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FormControl sx={{ width: '100%', height: '52px', ...formControlSx }} size='small'>
|
<FormControl sx={{ mt: 1, width: '100%', ...formControlSx }} size='small'>
|
||||||
<Autocomplete
|
<Autocomplete
|
||||||
id={name}
|
id={name}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
|||||||
Reference in New Issue
Block a user