In order to simplify the process, I have created a set of rules for a combo boy as follows:
A | B
1 | 1
1 | 2
2 | 2
2 | 3
Columns A and B represent the values that can be selected in a combo box. For example, if the first combo box is set to value 1, then the second combo box will only allow values 1 and 2 to be selected. Similarly, if the second combo box is set to value 2, then the first combo box will only have the option for selecting value 2. This setup is considered simplified as it requires the creation of four combo boxes with a dynamic ruleset.
I am wondering if there is any feature in Angular that can handle this type of ruleset (such as a component, code, or pattern)?