Skip to content

set css for specific entries dynamically #50

@FranGomezVenegas

Description

@FranGomezVenegas

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
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions