Open ABCDdouyaer opened 1 year ago
Playground link with titles/descriptions removed (#3698)
@ABCDdouyaer For array properties, you need to use the items
keyword, not brackets. Try this UI schema:
{
"baseConfig": {
"pointColor": {
"ui:widget": "color"
},
"lineColor": {
"ui:widget": "color"
},
"lineStyle": {
"ui:placeholder": "Choose one"
},
"lineWidth": {
"ui:widget": "updown"
}
},
"cardList": {
"items": {
"timeColor": {
"ui:widget": "color"
},
"titleColor": {
"ui:widget": "color"
},
"descColor": {
"ui:widget": "color"
},
"cardBackground": {
"ui:widget": "color"
}
}
}
}
This issue has been automatically marked as possibly close because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.
Prerequisites
What theme are you using?
bootstrap-4
Version
5.10.x
Current Behavior
cardList ui:widget is not taking effect
schema
UISchema
Expected Behavior
...
Steps To Reproduce
...
Environment
Anything else?
...