mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 20:51:26 +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
This commit is contained in:
parent
0114007a22
commit
e197c3f3d0
@ -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: [
|
||||
{
|
||||
|
@ -286,13 +286,16 @@ export const DEF_UI_SCHEMA = {
|
||||
supportsMetadataExtraction: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
supportsUsageExtraction: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
supportsLineageExtraction: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
supportsViewLineageExtraction: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
supportsViewLineageExtraction: {
|
||||
'ui:widget': 'hidden',
|
||||
'ui:hideError': true,
|
||||
},
|
||||
supportsProfiler: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
supportsDatabase: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
supportsQueryComment: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
supportsDBTExtraction: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
type: { 'ui:widget': 'hidden' },
|
||||
}
|
||||
};
|
||||
|
||||
export const INGESTION_ELASTIC_SEARCH_WORKFLOW_UI_SCHEMA = {
|
||||
useSSL: { 'ui:widget': 'hidden', 'ui:hideError': true },
|
||||
|
@ -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