Closed Joran182to closed 8 years ago
Hi,
There are only 2 rules:
fields
for structsitem
for listsconst formOptions = {
fields: { // struct
name: {
attrs: {
placeholder: 'Enter your name'
}
},
questions: {
item: { // list
fields: { // struct
questionText: {
attrs: {
placeholder: 'Enter your question'
}
}
}
}
}
}
}
Closing for inactivity, please reopen if you need more help.
Hi. Let's say I have a structure like this:
If i want to change 'name' s field placeholder, I do it like this in options:
But how I can set 'attrs' of nested 'questionText' field? I tried next code but it's not work:
and
and