Adds validationLabel to fields meta data
This commit is contained in:
parent
8efe308f98
commit
75e5a4f441
@ -280,7 +280,7 @@ export default {
|
|||||||
created () {
|
created () {
|
||||||
this.form.registerField(
|
this.form.registerField(
|
||||||
this.name,
|
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) {
|
if (this.initial !== false) {
|
||||||
this.form.hydrate({[this.name]: this.initial})
|
this.form.hydrate({[this.name]: this.initial})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user