[Fix] isLabelSyncedWithName should be nullable (#9028)
isLabelSyncedWithName should be nullable for fieldMetadata, as it is for objectMetadata. + Adding missing validation on label and name sync in fieldMetadataService for creation and update + adding metadata tests
This commit is contained in:
@ -164,7 +164,9 @@ export const SettingsDataModelFieldIconLabelForm = ({
|
||||
placeholder="employees"
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
disabled={disabled || isLabelSyncedWithName}
|
||||
disabled={
|
||||
disabled || (isLabelSyncedWithName ?? false)
|
||||
}
|
||||
fullWidth
|
||||
maxLength={DATABASE_IDENTIFIER_MAXIMUM_LENGTH}
|
||||
RightIcon={() =>
|
||||
|
||||
Reference in New Issue
Block a user