-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
conditional uiRelating to component conditionsRelating to component conditionsenhancementNew feature or requestNew feature or request
Description
🧩 Feature: Ability to Group Conditions (Using “All / Any” Like Filters)
📝 Description
In component logic, Conditions currently support only a single comparison at a time. Unlike Filters, there is no ability to group multiple conditions together or choose whether the group should evaluate using All (every condition must be true) or Any (at least one condition must be true).
This limitation makes it difficult to express more complex logic directly within a component. Many real-world UI behaviors require evaluating multiple criteria together before a condition should apply.
💡 Use Case
As a Budibase user, I want to:
- Group multiple conditions together inside a single condition block.
- Choose whether the group uses All (all criteria must be true) or Any (any criteria may be true).
- Add additional groups that combine using AND, just like Filter groups.
- Build richer, more expressive component logic without duplicating conditions or creating workarounds.
🔍 Current Pain Points
- Conditions cannot be grouped.
- No way to express logic such as:
- “Only apply this condition if all of these criteria are true.”
- “Apply this condition if any of these criteria match.”
- Forces users to create multiple separate conditions or restructure logic awkwardly.
- Makes complex UI behavior harder to maintain.
🎯 Expected Behavior
- Ability to create grouped conditions identical to Filter groups.
- Each group supports:
- All (AND logic inside the group)
- Any (OR logic inside the group)
- Additional groups combine using AND, matching Filter behavior.
- UI should mirror the Filter grouping interface for consistency and familiarity.
🚀 Why It Matters
- Brings Conditions to parity with Filters.
- Enables more expressive and maintainable component logic.
- Reduces duplication and complexity.
- Supports real-world UI behaviors that require multi-criteria evaluation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
conditional uiRelating to component conditionsRelating to component conditionsenhancementNew feature or requestNew feature or request