Skip to content

ComboBox new item and selection handling are inconsistent #10284

@Ansku

Description

@Ansku

#9071 fixed some of the issues when typing a new item to a ComboBox that allows such things and then exiting the field via click instead of tabulator without pressing enter, but there are some problematic cases left, and some are broken with both approaches.

Depending on the order of things you do (e.g. trying to add a new item before or after manual selection of an existing value, re-trying after failure etc.), entering text and moving out of the field without pressing enter can lead to any of these cases:

  • new item isn't added, old item is restored to text field
  • new item is added, old item is restored to text field
  • new item is added and stays in the text field but isn't selected
  • new item is added and selected (only in 8.1.6 when using tabulator)

Tested in 8.1.0, 8.1.6, 8.2.0.alpha2, and current master branch using the test for #9774

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions