1
0
mirror of synced 2024-11-25 14:56:03 +03:00

Adds validationLabel to fields meta data

This commit is contained in:
Justin Schroeder 2018-02-02 12:08:21 -05:00
parent 8efe308f98
commit 75e5a4f441

View File

@ -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})