Skip to content

EspoCRM – Open Source CRM Application

field: set read only support not ready

Yuri Kuznetsovc5e43e6e496f
diff --git a/client/src/views/fields/base.js b/client/src/views/fields/base.js
index e2a973ad76..0bc983884a 100644
--- a/client/src/views/fields/base.js
+++ b/client/src/views/fields/base.js
@@ -444,6 +444,12 @@ class BaseFieldView extends View {
this.readOnlyLocked = true;
}
+ if (!this.isReady) {
+ this.mode = 'detail';
+
+ return Promise.resolve();
+ }
+
if (this.isEditMode()) {
if (this.isInlineEditMode()) {
return this.inlineEditClose();