fix: q-file visibility
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
puriphatt 2025-07-16 15:25:47 +07:00
parent 7d4b38369c
commit 9b56896695
2 changed files with 3 additions and 2 deletions

View file

@ -262,7 +262,7 @@ function deleteFile(name: string) {
</div> </div>
<q-file <q-file
v-if="userType" v-if="userType && !readonly"
ref="attachmentRef" ref="attachmentRef"
for="input-attachment" for="input-attachment"
:dense="dense" :dense="dense"

View file

@ -184,13 +184,14 @@ function deleteAttachment(name: string) {
</q-input> </q-input>
<q-file <q-file
v-if="!readonly"
ref="attachmentRef" ref="attachmentRef"
for="input-attachment" for="input-attachment"
dense dense
outlined outlined
:readonly="readonly"
multiple multiple
append append
:readonly
:label="$t('personnel.form.attachment')" :label="$t('personnel.form.attachment')"
class="col" class="col"
v-model="attachment" v-model="attachment"