Provide more options to drive the display of the UI style form

Created on 20 July 2023, over 1 year ago
Updated 17 April 2024, 7 months ago

When enabling a plugin on a paragraph, I would like to have some options to alter the default behaviour of the form:
- Add the possibility to make the selection of a value required
- Alter the default "-None-" option to another label (for example, for a plugin around "Borders", "No border" makes more sense from a contributor standpoint).
- Select the default value

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇫🇷France vbouchet

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vbouchet
  • 🇮🇳India Sharique

    This module connect paragraphs module and UI styles module, properties definition of style belongs to the UI style module, hence moving ticket.
    There is already a related ticket UX: Add other widgets than select Active

  • Status changed to Closed: won't fix 7 months ago
  • 🇫🇷France pdureau Paris

    Add the possibility to make the selection of a value required

    This doesn't look like a good idea. It is hard to picture a required style utility in a design system. Always required? For every renderables?

    Alter the default "-None-" option to another label (for example, for a plugin around "Borders", "No border" makes more sense from a contributor standpoint).

    Why not... Maybe a new property like this one from Form API:

    #empty_option: (optional) The label to show for the first default option. By default, the label is automatically set to "- Select -" for a required field and "- None -" for an optional field.

    I add this proposal to UX: Add other widgets than select Active and I close this issue. Thanks a lot for the proposal Vincent.

    Select the default value

    Default value is always none/empty.

Production build 0.71.5 2024