mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-07 21:16:45 +00:00
fix(ui): unable to add more enum values for enum cp (#18440)
* fix(ui): unable to add more enum values for enum cp * replicate height constraint and dropdown visibility to add cp (cherry picked from commit e197c3f3d01e33a64538bc891ed8ef33de7a8af4)
This commit is contained in:
parent
fc924f00da
commit
f2c4aaced9
@ -326,6 +326,8 @@ const AddCustomProperty = () => {
|
||||
'data-testid': 'enumConfig',
|
||||
mode: 'tags',
|
||||
placeholder: t('label.enum-value-plural'),
|
||||
open: false,
|
||||
className: 'trim-select',
|
||||
},
|
||||
rules: [
|
||||
{
|
||||
|
||||
@ -100,6 +100,8 @@ const EditCustomPropertyModal: FC<EditCustomPropertyModalProps> = ({
|
||||
const updatedValues = uniq([...value, ...(enumConfig?.values ?? [])]);
|
||||
form.setFieldsValue({ customPropertyConfig: updatedValues });
|
||||
},
|
||||
open: false,
|
||||
className: 'trim-select',
|
||||
},
|
||||
rules: [
|
||||
{
|
||||
|
||||
@ -50,3 +50,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ant-select.trim-select {
|
||||
.ant-select-selection-overflow {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user