Skip to content

Commit

Permalink
added required to edit modal
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Aug 6, 2024
1 parent bedf16a commit b1ebc32
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/modals/publication/EditPublicationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ import { navigationStore, publicationStore } from '../../store/store.js'
</div>
<div v-if="success === null" class="form-group">
<NcTextField :disabled="loading"
label="Titel"
label="Titel *"
required
:value.sync="publicationItem.title" />
<NcTextField :disabled="loading"
label="Samenvatting"
label="Samenvatting *"
required
:value.sync="publicationItem.summary" />
<NcTextArea :disabled="loading"
label="Beschrijving"
Expand Down Expand Up @@ -66,7 +68,7 @@ import { navigationStore, publicationStore } from '../../store/store.js'
:value.sync="publicationItem.license" />
</div>
<NcButton v-if="success === null"
:disabled="!publicationItem.title"
:disabled="!publicationItem.title || !publicationItem.summary"
type="primary"
@click="updatePublication()">
<template #icon>
Expand Down

0 comments on commit b1ebc32

Please sign in to comment.