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
I know we can set css per variable type and that's great, my suggestion goes in the way of dynamically 'painting' objects by our "own-custom" rules, see below one example of what I'm suggesting to:
One property is an array and the entries having a property of is_mandatory? If the answer is YES then I want to apply one css for all the properies on this object entry, another in case of NO.
[
{"object": "fork", "is_mandatory": true}, --> Paint all this entry in red, overriding the css property for the generic usage
{"object": "spoon", "is_mandatory": false} , --> Paint all this entry in gray, overriding the css property for the generic usage
{"object": "knife", "is_mandatory": false} --> Paint all this entry in gray, overriding the css property for the generic usage
]
The text was updated successfully, but these errors were encountered:
I know we can set css per variable type and that's great, my suggestion goes in the way of dynamically 'painting' objects by our "own-custom" rules, see below one example of what I'm suggesting to:
One property is an array and the entries having a property of is_mandatory? If the answer is YES then I want to apply one css for all the properies on this object entry, another in case of NO.
[
{"object": "fork", "is_mandatory": true}, --> Paint all this entry in red, overriding the css property for the generic usage
{"object": "spoon", "is_mandatory": false} , --> Paint all this entry in gray, overriding the css property for the generic usage
{"object": "knife", "is_mandatory": false} --> Paint all this entry in gray, overriding the css property for the generic usage
]
The text was updated successfully, but these errors were encountered: