-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
Describe the bug
Categories should be hideable based on rules.
To Reproduce
Steps to reproduce the behavior:
- Specify a rule on any category, e.g. in the context of the person example:
{
type: 'Category',
label: 'Additional',
elements: [
{
type: 'Control',
scope: '#/properties/birthDate'
},
{
type: 'Control',
scope: '#/properties/vegetarian'
}
],
rule: {
effect: 'HIDE',
condition: {
scope: '#/properties/vegetarian',
schema: { const: true }
}
}
}Expected behavior
When setting the vegetarian property to true, the "Additional" tab should be hidden
Used Setup (please complete the following information):
- Framework: react, angular]
- RendererSet: material