Skip to content

Combo Box should also support grouping of elements #3509

Open
@timbo86

Description

@timbo86

Describe your motivation

Our UX has defined a grouped combo box, which should basically look like the grouped list box including separators (so this should also be possible for the select). As we not only run our components in java but also in vue.js, we would need a front end solution for this.

We tried already our best to implement such a functionality, but failed with not beeing able to access all properties and classes of combo box in java (for example DataGenerator or KeyMapper).

Describe the solution you'd like

It should look like this and the groups and separators should by stylable via themable parts:
image

The interaction with the groups should be disabled, so that we can't select those by mouse or keyboard.

Describe alternatives you've considered

  • We tried to pass additional data of an item from java to js. But this failed as we did not have access to the DataGenerator.
  • Also we were not able to deactivate interaction with groups completely

Additional context

We talked about this with @rolfsmeds and @YuriyVaadin and they thought this might be possible for v23

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions