diff --git a/src/components/Controls/AttachImage.vue b/src/components/Controls/AttachImage.vue index 818f07f0..ac989f5c 100644 --- a/src/components/Controls/AttachImage.vue +++ b/src/components/Controls/AttachImage.vue @@ -1,15 +1,11 @@ @@ -72,6 +75,10 @@ export default { }, methods: { async openFileSelector() { + if (this.isReadOnly) { + return; + } + const options = { title: fyo.t`Select Image`, properties: ['openFile'], diff --git a/src/components/Controls/AutoComplete.vue b/src/components/Controls/AutoComplete.vue index 04f2860a..80b31c68 100644 --- a/src/components/Controls/AutoComplete.vue +++ b/src/components/Controls/AutoComplete.vue @@ -8,17 +8,18 @@ selectHighlightedItem, }" > -
+
{{ df.label }}
-
+
{{ df.label }}
- +
+ +
- - diff --git a/src/components/Controls/Check.vue b/src/components/Controls/Check.vue index 18103cd6..5f5df6ec 100644 --- a/src/components/Controls/Check.vue +++ b/src/components/Controls/Check.vue @@ -1,10 +1,13 @@