After reading this issue and this issue, I understand that to render array of objects with nested conditions, there has to be a proper details object in UI schema.
But, I am using vue-vanilla, which does not support ListWithDetails type - the only renderer supported for is ArrayListRenderer, which works great, but cant handle nested conditions. I use the default uischema provided by vue-vanilla without changing it.
Is there an easy way to get ListWithDetails working with vue-vanilla? Or maybe any other way to save in schema array items?
More precisely, with the given schema:
representative: {
type: 'array',
items: {
type: 'object',
properties: {
data: {
type: 'object',
properties: {
name: {
type: 'string',
},
surname: {
type: 'string',
},
role: {
type: 'string',
enum: [...],
runConditions: [...],
conditions: [...],
},
description: {
type: 'string',
hide: true,
},
},
},
I need to unhide description field when a specific role is selected, but only in the current item (right now it’s working for every item in the array).