Skip to content

Commits on Source 3

{
"name": "@coscine/form-generator",
"version": "3.0.5",
"version": "3.0.6",
"main": "dist/index.umd.js",
"module": "dist/index.mjs",
"browser": "dist/index.js",
......
......@@ -485,16 +485,14 @@ export default defineComponent({
}
},
initMetadata() {
// Set values if they don't exist
if (!this.values.length) {
this.values = [...this.metadataValues];
// Set values if they don't exist
if (!this.values.length) {
const numberOfNewFields = 1;
// Setting more than one will not work since a dataset does not support multiple triples
// which are the same ?s ?p ?o
this.insertNewFields(numberOfNewFields);
}
}
},
input(values: Quad_Object[], fixedValueTransfer = true) {
this.$emit('input', this.nodeName, values);
......