in my other collection i stored value like
{
name:‘test’,
work:[‘insert’,‘update’]
},
{
name:‘check’,
work:[‘insert’,‘update’,‘view’]
}
i want to display form like this
menu
test : checkbox insert checkbox update
check : checkbox insert checkbox update checkbox view
how design schema ?
Please help me