use seperate form id

This commit is contained in:
2023-05-10 20:20:50 +10:00
parent 8dc43ccfce
commit 86491bfb2e

View File

@@ -79,7 +79,7 @@
</SMRow> </SMRow>
</SMTab> </SMTab>
<SMTab id="tab-upload" label="Upload"> <SMTab id="tab-upload" label="Upload">
<SMForm v-model="uploadForm"> <SMForm v-model="uploadForm" form-id="upload-form">
<SMFormError v-model="uploadForm" /> <SMFormError v-model="uploadForm" />
<SMRow> <SMRow>
<SMColumn width="250px"> <SMColumn width="250px">
@@ -98,11 +98,13 @@
<SMInput <SMInput
label="Title" label="Title"
control="title" control="title"
form-id="upload-form"
:disabled="uploadPreview.length == 0" /> :disabled="uploadPreview.length == 0" />
<SMInput <SMInput
type="textarea" type="textarea"
label="Description" label="Description"
control="description" control="description"
form-id="upload-form"
:disabled="uploadPreview.length == 0" /> :disabled="uploadPreview.length == 0" />
</SMColumn> </SMColumn>
</SMRow> </SMRow>