We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434831f commit 951a0efCopy full SHA for 951a0ef
packages/core/admin/admin/src/content-manager/components/InputUID/index.js
@@ -123,7 +123,8 @@ const InputUID = ({
123
if (
124
debouncedValue &&
125
debouncedValue.trim().match(UID_REGEX) &&
126
- debouncedValue !== initialValue
+ debouncedValue !== initialValue &&
127
+ !value
128
) {
129
checkAvailability();
130
}
@@ -154,7 +155,8 @@ const InputUID = ({
154
155
!isCustomized &&
156
isCreation &&
157
debouncedTargetFieldValue &&
- modifiedData[attribute.targetField]
158
+ modifiedData[attribute.targetField] &&
159
160
161
generateUid.current(true);
162
0 commit comments