vuetify-form-base
vuetify-form-base copied to clipboard
Dynamic label text when using array
First of all thank you for your awesome work on this package 🥇
How can we dynamically set the label text when using an array?
Here is an example:
'pages': {
'type': 'array',
'col': 12,
'schema': {
'title': {
type: 'wrap',
label: <================= Here
'col': 12,
'schema': {
....
}
},
}
},
Look at "label" How can we get the current item so we can use it's properties as the label text? e.g. : label: val => val.title or something like that?
Hello, thank you for your inquiry!
It is currently not possible to access an array item or the index in this way. But give me some time, I will think about whether this is possible.