From 6c818b449acef31ea4491852f551374ab4a01066 Mon Sep 17 00:00:00 2001 From: Renato Atilio Date: Sun, 15 Oct 2023 11:17:11 -0300 Subject: [PATCH] FIX: add missing `type` to form template upload (#23935) --- .../discourse/app/components/form-template-field/upload.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/discourse/app/components/form-template-field/upload.js b/app/assets/javascripts/discourse/app/components/form-template-field/upload.js index 093737e8c11..36ff6410e64 100644 --- a/app/assets/javascripts/discourse/app/components/form-template-field/upload.js +++ b/app/assets/javascripts/discourse/app/components/form-template-field/upload.js @@ -15,6 +15,8 @@ export default class FormTemplateFieldUpload extends Component.extend( @tracked fileUploadElementId = `${dasherize(this.id)}-uploader`; @tracked fileInputSelector = `#${this.fileUploadElementId}`; + type = "composer"; + @computed("uploading", "uploadValue") get uploadStatus() { if (!this.uploading && !this.uploadValue) {