Fixes console log errors and updates taginput border.
This commit is contained in:
parent
ed4a58630c
commit
b3a24005f6
|
@ -73,7 +73,7 @@ export const eventBusItemMetadata = new Vue({
|
|||
|
||||
if (values.length > 0 && values[0] != undefined && values[0].value) {
|
||||
let onlyValues = values.map((aValueObject) => aValueObject.value);
|
||||
values = onlyValues;
|
||||
values = JSON.parse(JSON.stringify(onlyValues));
|
||||
}
|
||||
|
||||
this.$store.dispatch('item/updateItemSubmissionMetadatum', {
|
||||
|
|
|
@ -130,9 +130,6 @@
|
|||
margin-bottom: 0px !important;
|
||||
text-overflow: ellipsis;
|
||||
background-color: var(--tainacan-input-background-color);
|
||||
&:hover {
|
||||
border: none !important;
|
||||
}
|
||||
}
|
||||
.input.has-selected, .input:focus, .input:active {
|
||||
background-color: var(--tainacan-input-background-color);
|
||||
|
|
|
@ -251,6 +251,9 @@ a:hover {
|
|||
}
|
||||
}
|
||||
}
|
||||
.taginput-container .input:hover {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
// Buefy notices (toast, snackbar...)
|
||||
.notices {
|
||||
|
|
|
@ -581,7 +581,7 @@ export default {
|
|||
// Clear errors so we don't have them duplicated from api
|
||||
eventBusItemMetadata.errors = [];
|
||||
|
||||
let data = this.form;
|
||||
let data = JSON.parse(JSON.stringify(this.form));
|
||||
|
||||
this.fillExtraFormData(data);
|
||||
this.setItemSubmission(data);
|
||||
|
|
Loading…
Reference in New Issue