We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71913fb commit 46ee07bCopy full SHA for 46ee07b
1 file changed
src/visualBuilder/components/FieldToolbar.tsx
@@ -149,7 +149,7 @@ function FieldToolbarComponent(
149
disableFieldActions = isDisabled;
150
151
fieldType = getFieldType(fieldSchema);
152
- isModalEditable = ALLOWED_MODAL_EDITABLE_FIELD.includes(fieldType);
+
153
154
Icon = fieldIcons[fieldType];
155
@@ -171,6 +171,8 @@ function FieldToolbarComponent(
171
fieldMetadata.instance.fieldPathWithIndex ||
172
fieldMetadata.multipleFieldMetadata?.index === -1);
173
174
+ isModalEditable = ALLOWED_MODAL_EDITABLE_FIELD.includes(fieldType) && !isWholeMultipleField;
175
176
isReplaceAllowed =
177
ALLOWED_REPLACE_FIELDS.includes(fieldType) && !isWholeMultipleField;
178
// if (
0 commit comments