Skip to content

Conversation

@dontub
Copy link
Collaborator

@dontub dontub commented Jan 5, 2026

This makes it possible for any control and layout to specify CSS classes in the UI
schema that will be added to the generated HTML code. The classes can be set at
the property cssClasses in the options property, e.g.:

{
  "type": "VerticalLayout",
  "elements": [
    {
      "type": "Control",
      "scope": "#/properties/name",
      "options": {
        "cssClasses": ["my-name-control-class"]
      }
    }
  ],
  "options": {
    "cssClasses": ["my-layout-class"]
  }
}

systopia-reference: 29920

@dontub dontub requested a review from jensschuppe January 5, 2026 16:47
@dontub dontub requested a review from jensschuppe January 7, 2026 08:54
@dontub dontub force-pushed the allow-to-define-css-classes branch from a31d355 to 0f9c7f5 Compare January 7, 2026 08:59
@dontub dontub force-pushed the allow-to-define-css-classes branch from 0f9c7f5 to 5b2b4be Compare January 7, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants