@ulb-darmstadt/shacl-form 1.6.6 → 1.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/form-bootstrap.js +1 -1
- package/dist/form-default.js +1 -1
- package/dist/form-material.js +1 -1
- package/package.json +1 -1
- package/src/property.ts +5 -4
package/package.json
CHANGED
package/src/property.ts
CHANGED
|
@@ -126,10 +126,11 @@ export class ShaclProperty extends HTMLElement {
|
|
|
126
126
|
const shapeSubject = instance.firstChild.toRDF(graph)
|
|
127
127
|
graph.addQuad(subject, pathNode, shapeSubject, this.template.config.valuesGraph)
|
|
128
128
|
} else {
|
|
129
|
-
const editor
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
for (const editor of instance.querySelectorAll<Editor>('.editor')) {
|
|
130
|
+
const value = toRDF(editor)
|
|
131
|
+
if (value) {
|
|
132
|
+
graph.addQuad(subject, pathNode, value, this.template.config.valuesGraph)
|
|
133
|
+
}
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
}
|