diff --git a/src/common-components/textbox-question/textbox-question.spec.js b/src/common-components/textbox-question/textbox-question.spec.js
index d8a29d9cd..adffdbf1c 100644
--- a/src/common-components/textbox-question/textbox-question.spec.js
+++ b/src/common-components/textbox-question/textbox-question.spec.js
@@ -330,4 +330,33 @@ describe("textboxQuestion.vue", () => {
expect(wrapper.vm.handleChange).not.toHaveBeenCalled();
expect(wrapper.emitted()).toHaveProperty("imageLookupError");
});
+
+ it("Should not display camera or spinner icon when disabled", () => {
+ // Arrange
+ const inputId = "test";
+
+ const wrapper = shallowMount(textboxQuestion, {
+ global: {
+ directives: {
+ maska: maska,
+ },
+ },
+ propsData: {
+ modelValue: "",
+ includeCameraIcon: true,
+ inputId: inputId,
+ isDisabled: true,
+ },
+ mixins: [mockMixin],
+ attachTo: document.body,
+ });
+
+ // Act
+ const cameraIcon = wrapper.find('[data-test="image-upload"]');
+ const loadingIcon = wrapper.findComponent('loader');
+
+ // Assert
+ expect(cameraIcon.exists()).toBe(false);
+ expect(loadingIcon.exists()).toBe(false);
+ });
});
diff --git a/src/common-components/textbox-question/textbox-question.vue b/src/common-components/textbox-question/textbox-question.vue
index 41fc3a5c2..c080e4f91 100644
--- a/src/common-components/textbox-question/textbox-question.vue
+++ b/src/common-components/textbox-question/textbox-question.vue
@@ -36,19 +36,21 @@
:maxlength="maxLength ? maxLength : '999'"
@focus="$emit('focus', $event.target.value)" />
-
-