@@ -121,7 +37,7 @@ watch([() => doctype.value, () => fieldname.value], ([doctype_value, fieldname_v
class="form-control"
type="text"
:value="value"
- :disabled="store.read_only || df.read_only"
+ :disabled="read_only || df.read_only"
@input="event => $emit('update:modelValue', event.target.value)"
/>
diff --git a/frappe/public/js/form_builder/globals.js b/frappe/public/js/form_builder/globals.js
index 591e75d71e..f7a04df2db 100644
--- a/frappe/public/js/form_builder/globals.js
+++ b/frappe/public/js/form_builder/globals.js
@@ -12,6 +12,7 @@ import SignatureControl from "./components/controls/SignatureControl.vue";
import TableControl from "./components/controls/TableControl.vue";
import TextControl from "./components/controls/TextControl.vue";
import TextEditorControl from "./components/controls/TextEditorControl.vue";
+import FetchFromControl from "./components/controls/FetchFromControl.vue";
export function registerGlobalComponents(app) {
app.component("AttachControl", AttachControl)
@@ -52,5 +53,6 @@ export function registerGlobalComponents(app) {
.component("TableMultiSelectControl", DataControl)
.component("TextControl", TextControl)
.component("TextEditorControl", TextEditorControl)
- .component("TimeControl", DataControl);
+ .component("TimeControl", DataControl)
+ .component("FetchFromControl", FetchFromControl);
}