Started work on library node insert forms

This commit is contained in:
Stefan Zermatten
2019-06-27 16:52:28 +02:00
parent bd4fb58935
commit 9757da2cae
10 changed files with 173 additions and 8 deletions

View File

@@ -44,6 +44,9 @@
},
valid: true,
}},
created(){
this.validationContext = Attributes.simpleSchema().newContext();
},
methods: {
change(update, ack){
for (key in update){
@@ -58,9 +61,6 @@
if (ack) ack();
},
},
created(){
this.validationContext = Attributes.simpleSchema().newContext();
},
computed: {
errors(){
this.valid = true;