Fixes console log errors and updates taginput border.

This commit is contained in:
mateuswetah 2020-10-05 10:04:28 -03:00
parent ed4a58630c
commit b3a24005f6
4 changed files with 5 additions and 5 deletions

View File

@ -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', {

View File

@ -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);

View File

@ -251,6 +251,9 @@ a:hover {
}
}
}
.taginput-container .input:hover {
border: none !important;
}
// Buefy notices (toast, snackbar...)
.notices {

View File

@ -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);