Fixes values passed to the bulk edition endpoint as objects.
This commit is contained in:
parent
cb0e3b767b
commit
3b123e91d9
|
@ -117,7 +117,7 @@
|
|||
:class="{'is-field-history': bulkEditionProcedures[criterion].isDone}"
|
||||
class="tainacan-bulk-edition-field tainacan-bulk-edition-field-not-last"
|
||||
:disabled="bulkEditionProcedures[criterion].isDone"
|
||||
@input="addToBulkEditionProcedures($event, 'newValue', criterion)"
|
||||
@input="addToBulkEditionProcedures($event.target.value, 'newValue', criterion)"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
@ -128,7 +128,7 @@
|
|||
:disabled="bulkEditionProcedures[criterion].isDone"
|
||||
class="tainacan-bulk-edition-field tainacan-bulk-edition-field-last"
|
||||
:placeholder="$i18n.get('instruction_select_a_status2')"
|
||||
@update:model-value="addToBulkEditionProcedures($event, 'newValue', criterion)">
|
||||
@update:model-value="addToBulkEditionProcedures($event.target.value, 'newValue', criterion)">
|
||||
<option
|
||||
v-for="(statusOption, index) of $statusHelper.getStatuses().filter(option => { return option.value != 'trash' })"
|
||||
:key="index"
|
||||
|
@ -144,7 +144,7 @@
|
|||
:disabled="bulkEditionProcedures[criterion].isDone"
|
||||
class="tainacan-bulk-edition-field tainacan-bulk-edition-field-last"
|
||||
:placeholder="$i18n.get('instruction_select_a_comments_status')"
|
||||
@update:model-value="addToBulkEditionProcedures($event, 'newValue', criterion)">
|
||||
@update:model-value="addToBulkEditionProcedures($event.target.value, 'newValue', criterion)">
|
||||
<option
|
||||
v-for="(statusOption, index) of $commentsStatusHelper.getStatuses()"
|
||||
:key="index"
|
||||
|
@ -202,7 +202,7 @@
|
|||
:class="{ 'is-field-history': bulkEditionProcedures[criterion].isDone }"
|
||||
class="tainacan-bulk-edition-field tainacan-bulk-edition-field-last"
|
||||
:disabled="bulkEditionProcedures[criterion].isDone || bulkEditionProcedures[criterion].isExecuting"
|
||||
@input="addToBulkEditionProcedures($event, 'newValue', criterion)"
|
||||
@input="addToBulkEditionProcedures($event.target.value, 'newValue', criterion)"
|
||||
/>
|
||||
</template>
|
||||
</template>
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
taxonomyId: '',
|
||||
excludeTree: '',
|
||||
isHierarchical: Boolean,
|
||||
initialTermParent: String,
|
||||
initialTermParent: [ String, Number ],
|
||||
initialTermParentName: String
|
||||
},
|
||||
emits: [
|
||||
|
|
Loading…
Reference in New Issue