-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
DependsOnDependsOn-related logicDependsOn-related logicbugSomething isn't workingSomething isn't working
Description
Preconditions:
- there is a checkbox without a description inside a multifield
- the checkboxes' visibility is managed by dependsOn
Steps to reproduce:
- Open the dialog
- Switch the switcher that hides the checkbox
Actual result: The whole multifield is hidden
Expected result: Only the checkbox is hidden
Code Example:
@DialogField (label = "Multifield")
@MultiField
private List<MultifieldItem> items;
public static class MultifieldItem{
@DialogField(label = "Hide the checkbox?")
@Switch(checked = true)
@DependsOnRef
private String hide;
@DialogField(label = "Checkbox")
@Checkbox
@DependsOn(query = "@hide(coral-multifield-item)")
private boolean checkbox;
}
Note: The issue might also be reproducible for other widgets that have an optional wrapper that depends on the presence of the description. Multifield is one such example, there may be more
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DependsOnDependsOn-related logicDependsOn-related logicbugSomething isn't workingSomething isn't working
Type
Projects
Status
To do