infor-design / enterprise-wc

Enterprise-grade web component library for the Infor Design System
Apache License 2.0
27 stars 22 forks source link

Multiselect: Add Cancel/Apply button in multiselect dropdowns #2351

Open NikosLardas opened 1 month ago

NikosLardas commented 1 month ago

The Process Mining team could really use the following functionality: Cancel/Apply buttons within a multiselect dropdown

Multiselect Dropdown Component

Currently the multiselect dropdown component in the library only supports closing immediatelly after one option is selected or remaining open while the user selects many options, but then the user has to click somewhere else in the screen for the dropdown to close. This is not intuitive or user friendly.

Recommended Solution

We would like to have the ability to render a "Cancel" and an "Apply" button, that would either cancel the process of selection for the multiselect dropdown and close it, or apply all the selections of the user and close the dropdown accordingly.

Would it be possible to support this functionality in the future? It would be very helpful and beneficial for the look and feel of the Process Mining Platform.

Thank you!

tmcconechy commented 4 weeks ago

We have always not had buttons on these, but welcome the feedback. Will review with design.

tmcconechy commented 3 weeks ago

@NikosLardas ~ after some discussion we are modelling this after a html select element. Which doesnt have buttons like this.

You can click out, click to toggle the dropdown (click on it) or hit escape. We think thats good enough.