Skip to content

Commit

Permalink
Fixes on de MetaDataModal
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Aug 13, 2024
1 parent 5748e01 commit 5ba3f62
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
18 changes: 15 additions & 3 deletions src/modals/metaData/AddMetaDataModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,21 @@ import { navigationStore, metadataStore } from '../../store/store.js'
</NcNoteCard>
</div>
<div v-if="success === null" class="form-group">
<NcTextField label="Titel" :value.sync="metaData.title" required="true" />
<NcTextField label="Versie" :value.sync="metaData.version" />
<NcTextArea label="Beschrijving" :disabled="loading" :value.sync="metaData.description" />
<NcTextField
label="Titel"
required="true"
value.sync="metaData.title" />
<NcTextField
label="Versie"
:value.sync="metaData.version" />
<NcTextField :disabled="loading"
label="Samenvatting *"
required="true"
:value.sync="metaData.summary" />
<NcTextArea
label="Beschrijving"
:disabled="loading"
:value.sync="metaData.description" />
</div>
<NcButton v-if="success === null"
:disabled="!metaData.title || loading"
Expand Down
21 changes: 17 additions & 4 deletions src/modals/metaData/EditMetaDataModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,23 @@ import { navigationStore, metadataStore } from '../../store/store.js'
</NcNoteCard>
</div>
<div v-if="success == null" class="form-group">
<NcTextField label="Titel" :disabled="loading" :value.sync="metadataStore.metaDataItem.title" />
<NcTextField label="Versie" :disabled="loading" :value.sync="metadataStore.metaDataItem.version" />
<NcTextArea label="Beschrijving" :disabled="loading" :value.sync="metadataStore.metaDataItem.description" />
<NcTextField label="vereisten (splits op ,)" :value.sync="metadataRequired" />
<NcTextField
label="Titel"
:disabled="loading"
:value.sync="metadataStore.metaDataItem.title" />
<NcTextField
label="Versie"
:disabled="loading"
:value.sync="metadataStore.metaDataItem.version" />
<NcTextField
label="Samenvatting *"
required="true"
:disabled="loading"
:value.sync="metadataStore.metaDataItem.summary" />
<NcTextArea
label="Beschrijving"
:disabled="loading"
:value.sync="metadataStore.metaDataItem.description" />
</div>
<NcButton
v-if="success == null"
Expand Down

0 comments on commit 5ba3f62

Please sign in to comment.