### What problem does this PR solve? #2120 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.11.0
| @@ -42,8 +42,6 @@ class SwitchParam(ComponentParamBase): | |||
| self.check_empty(self.conditions, "[Switch] conditions") | |||
| for cond in self.conditions: | |||
| if not cond["to"]: raise ValueError(f"[Switch] 'To' can not be empty!") | |||
| if cond["logical_operator"] not in ["and", "or"] and len(cond["items"]) > 1: | |||
| raise ValueError(f"[Switch] Please set logical_operator correctly!") | |||
| class Switch(ComponentBase, ABC): | |||