From 75e5a4f44159e6801411fc4f1998ff095a83ad66 Mon Sep 17 00:00:00 2001 From: Justin Schroeder Date: Fri, 2 Feb 2018 12:08:21 -0500 Subject: [PATCH] Adds validationLabel to fields meta data --- src/components/FormulateElement.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FormulateElement.vue b/src/components/FormulateElement.vue index 9c57d50..a1653d4 100644 --- a/src/components/FormulateElement.vue +++ b/src/components/FormulateElement.vue @@ -280,7 +280,7 @@ export default { created () { this.form.registerField( this.name, - filter(this.$props, (prop, value) => ['name', 'type', 'id', 'label', 'validation'].includes(prop)), + filter(this.$props, (prop, value) => ['name', 'type', 'id', 'label', 'validation', 'validationLabel'].includes(prop)) ) if (this.initial !== false) { this.form.hydrate({[this.name]: this.initial})