bpmn-io / bpmn-js-properties-panel

A properties panel for bpmn-js.
MIT License
295 stars 197 forks source link

Tag-Lists (with auto completion) instead of comma-seperated lists #679

Open christian-konrad opened 2 years ago

christian-konrad commented 2 years ago

Is your feature request related to a problem? Please describe

In the properties panel, you oftentimes need to specify a comma-seperated list when you enter multiple property values, for example the delegated users of a user task. Comma-seperated lists are prone to errors and inconvenient for users, even for developers. Furthermore, if we want to provide a way for Form builders to set defaults for a multi-select component (checkbox or tag list), this must also be scalable and provide the selectable values for the user to select.

Describe the solution you'd like

A new tag-list input type for all list-based properties with autocompletion/-suggestion if there are values to select from.

Describe alternatives you've considered

Sticking to comma-seperated lists and taking the risk of telling the user implicitly "we don't care about your UX"

Additional context

Related to https://github.com/bpmn-io/bpmn-js-properties-panel/issues/492 Related to / duplicate of https://github.com/bpmn-io/properties-panel/issues/223

christian-konrad commented 2 years ago

Ignore now, maybe build later (when we need it in Forms or get bad feedback for current comma-seperated lists)