You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every constraint allows for a label and groups. In most cases, all constraints for an element need to have the same value for these parameters. I propose that there should be a way to define these values globally for all other constraints on the element. This could be achieved with either a special constraint, or through another attribute.
Additionally, there are some scenarios where you would want the label and/or groups to be different per constraint. Therefore, the constraint parameters for them should remain. If they are present, they would override the globally defined label or group. This would also allow for backwards compatibility.
That's an interesting idea. I think it would require some more thought as to the best way to implement this. Using predefined groups for all constraints attached to an element is certainly attractive.
I am thinking that we should just add a new html attribute for adding element-wide variables to an element. Perhaps custom constraints could have access to this feature too. You would still be able to override these on the constraint level if needed as well.
Every constraint allows for a label and groups. In most cases, all constraints for an element need to have the same value for these parameters. I propose that there should be a way to define these values globally for all other constraints on the element. This could be achieved with either a special constraint, or through another attribute.
Additionally, there are some scenarios where you would want the label and/or groups to be different per constraint. Therefore, the constraint parameters for them should remain. If they are present, they would override the globally defined label or group. This would also allow for backwards compatibility.
Ex.
Or
The text was updated successfully, but these errors were encountered: