Fix KVEditor duplicate key rename validation
Prevent users from renaming a KVEditor entry to an existing key and show inline validation errors.
This commit is contained in:
@@ -167,6 +167,11 @@ export const useConfigStyles = makeStyles({
|
||||
fontFamily: "monospace",
|
||||
borderLeft: `3px solid ${tokens.colorBrandStroke1}`,
|
||||
},
|
||||
fieldError: {
|
||||
gridColumn: "1 / -1",
|
||||
marginTop: tokens.spacingVerticalXXS,
|
||||
color: tokens.colorPaletteRedForeground1,
|
||||
},
|
||||
logLine: {
|
||||
padding: `${tokens.spacingVerticalXS} ${tokens.spacingHorizontalS}`,
|
||||
borderRadius: tokens.borderRadiusSmall,
|
||||
|
||||
Reference in New Issue
Block a user