Got creature recomputation to do things in sheet

This commit is contained in:
Stefan Zermatten
2020-02-18 13:27:31 +02:00
parent 81cec77c9e
commit 86926e593c
7 changed files with 119 additions and 48 deletions

View File

@@ -35,9 +35,9 @@
<text-field
label="Stat"
class="mr-2"
:value="model.stat"
:value="model.stats[0]"
:items="stats"
@change="(value, ack) => $emit('change', {path: ['stat'], value, ack})"
@change="(value, ack) => $emit('change', {path: ['stats'], value: [value], ack})"
/>
</div>
</template>

View File

@@ -35,6 +35,7 @@ const schemaFormMixin = {
if (this.valid) this.valid = false;
errors[error.name] = this.schema.messageForError(error);
});
console.log(errors);
return errors;
},
},