[2.0.0-beta5] Add new EnumSetPropType

Created on 10 November 2024, 2 months ago

Problem/Motivation

There is a mismatch between EnumListPropType and its default source: CheckboxesWidget

Checkboxes widget allows an unique occurrence of each enum value, but the EnumListPropType schema allows multiple occurence.

Proposed resolution

  1. Introduce a new EnumSetPropType with is identical to EnumListPropType but with uniqueItems: true
  2. Make CheckboxesWidget the default widget of this new prop type
  3. Add a new SelectsWidget for EnumListPropType which will show a select element with the enum values for each array value.

Remaining tasks

Tell current users of UIP2 Beta4 they may need to change their current enum_list props by enum_set.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024