@onehat/ui 0.3.335 → 0.3.336
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -400,6 +400,7 @@ function Form(props) {
|
|
|
400
400
|
title,
|
|
401
401
|
name,
|
|
402
402
|
isEditable = true,
|
|
403
|
+
isEditingEnabledInPlainEditor,
|
|
403
404
|
label,
|
|
404
405
|
items,
|
|
405
406
|
onChange: onEditorChange,
|
|
@@ -425,6 +426,10 @@ function Form(props) {
|
|
|
425
426
|
if (propertyDef?.isEditingDisabled && checkIsEditingDisabled) {
|
|
426
427
|
isEditable = false;
|
|
427
428
|
}
|
|
429
|
+
if (isEditingEnabledInPlainEditor && editorType === EDITOR_TYPE__PLAIN) {
|
|
430
|
+
// If this is a plain editor, allow the field to be editable, even if it's not editable in other editor types
|
|
431
|
+
isEditable = true;
|
|
432
|
+
}
|
|
428
433
|
if (!type) {
|
|
429
434
|
if (isEditable) {
|
|
430
435
|
const
|