Fix rendering of multianswers without explicit 'render'-field
This commit is contained in:
parent
52d9b2f452
commit
a35b80afbb
11 changed files with 195 additions and 97 deletions
|
@ -53,7 +53,9 @@ export default class TagRenderingQuestion extends UIElement {
|
|||
this._inputElement = this.GenerateInputElement()
|
||||
const self = this;
|
||||
const save = () => {
|
||||
console.log("Save clicked!")
|
||||
const selection = self._inputElement.GetValue().data;
|
||||
console.log("Selection is", selection)
|
||||
if (selection) {
|
||||
(State.state?.changes ?? new Changes())
|
||||
.addTag(tags.data.id, selection, tags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue