so I have a custom component which consists of lists of lists.
and under the sublist, I have an input which is dynamic to the sibling input under the same hierarchy.
Builder.registerComponent(Counter, {
name: "Counter",
inputs: [
{
name: "counterName",
type: 'text'
},
{
name: 'initialCount',
type: 'number'
},
{
name: 'layout',
type: 'html'
},
{
name:'mylist',
type:'list',
subFields:[
{
name:"element",
type:'string',
enum:['hello','world']
},
{
name:'sublist',
type:'list',
subFields:[
{
name:'subchildtext',
enum:['hellochild','worldchild'],
type:'string',
},
{
name:'marks',
type:'number',
showIf:`options.get('subchildtext')==='hellochild'`,
}
]
}
],
}
]
});
now I want to know if there is a way to make the “marks” to dynamically show on the basis of input that we have in field “element” rather than the field “subchildtext”