ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

ComboBox: Change Events by Arrow Up and Arrow Down Keys should be marked as "not final"

Open MFel0123 opened this issue 2 years ago • 0 comments

Feature Request Description

This is a question and might also be a feature request: In our case, when we select something using a Combobox we trigger a backend request. This is of course a step that has quite an impact. We want to avoid unnecessary service calls to the backend. So, we have to do this only when the user has finalized his/her selection via the combobox.

Now imagine a user that opens the select drop down box of the combobox and (for whatever reason) just used the arrow-up and arrow-down key just to move up and down in the list. This user is not selecting anything, but I guess, for each key stroke a backend request is triggered (as far as I know, because a change event is fired).

We would expect some kind of signal that indicates "event is final" that is set when the user really is doing a mouse click into a line, or a focus our or an enter click. So that the select drop down box vanishes and the selection is really made. Then we can really handle the event and fire our service call to the backend.

If I am wrong and there is already such a flag to identify the "final change events" - please let me know.

Proposed Solution

A clear and concise description of the solution you would like to have.

Proposed Alternatives

A clear and concise description of any alternative solutions or features you've considered.

Additional Context

Add other context or screenshots related to the feature request here.

Priority

  • [ ] Low
  • [x] Medium
  • [ ] High
  • [ ] Very High

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

  • Organization: {...}
  • Business impact: {...}

MFel0123 avatar Aug 11 '22 07:08 MFel0123