Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce configuration option that would define the behaviour of the ComboBox / DropDownList upon item selection after filtering #4550

Open
veselints opened this issue Sep 27, 2018 · 0 comments

Comments

@veselints
Copy link
Contributor

Introduce configuration option that would define the behaviour of the ComboBox / DropDownList upon item selection after filtering.

Here is the scenario concerned, reproducible on the Server filtering demo of the ComboBox:

  • Type 'que' in the widget input;
  • Select one of the options - the drop-down will close;
  • Click the arrow button to open the drop-down;
  • The full list of items will be displayed in the drop-down;

In the above scenario, the input of the ComboBox (which is also its filter field) will be populated with the text of the selected item. That would be a mismatch with the items displayed in the drop-down (all items). A configuration property of the widget could control that behaviour. Depending on the option chosen, it will preserve the current behavior (displaying all items), or it will display only the items matching the selected item text.

In the case of the DropDownList, the current behaviour clears its filter upon selection and renders all available items in the pop-up, when it is opened. The same configuration property could force it to preserve the filter and display the previously filtered items (as the DropDownTree behaves currently).

This is related to #2950, #3965, #3560, and https://github.com/telerik/kendo/issues/9001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant