Completed
Last Updated: 15 Sep 2021 15:20 by Arif
Release LIB 2021.2.816 (16 Aug 2021)
Arif
Created on: 28 Jul 2021 23:00
Category: ComboBox
Type: Bug Report
3
Combobox erases entered text if searching for string with spaces when user types space

Steps to Create Problem using  EditableTextBoxTemplate_WPF sample project provided by Telerik:(modified project is zipped and attached just in case)

- Edit Example.xaml to add "AllowMultipleSelection="True":

            <telerik:RadComboBox  IsEditable="True" ItemsSource="{Binding Companies}" SelectAllTextEvent="None" FontFamily="Calibri" FontSize="14"
                                  DisplayMemberPath="Name" EditableTemplate="{StaticResource EditableComboBox}"
                                  Width="220" Height="50" DropDownWidth="*" x:Name="comboBox" Margin="5 10" AllowMultipleSelection="True"/>
        </StackPanel>

 

1) Run project 

2) Click drop down button to see list in the drop down

3) Type "Global" (at this point it should autocomplete "Global Corporation")

4) Without clicking on anything or Press space bar to continue typing (type space character)

5) Typed text will disappear leaving only space character behind - At this point, nothing is selected.

 

This does NOT happen if typed text before space does NOT match with any item from the list. 

This does NOT happen if AllowMultipleSelection set to false

This does NOT happen if dropdown is NOT open while typing.

 

11 comments
Arif
Posted on: 15 Sep 2021 15:20

Thanks Martin. It seems to be working. This can be closed.

 

ADMIN
Martin Ivanov
Posted on: 15 Sep 2021 08:19

Hello Arif,

The new release (R3 2021) is live since today.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Arif
Posted on: 08 Sep 2021 14:53

Hi Martin,

Can you confirm release will be AVAILABLE on 15-September-2021?

 

Thanks,

Arif 

ADMIN
Martin Ivanov
Posted on: 08 Sep 2021 08:20

Hello Arif,

We plan to release in the middle of this month. 

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Arif
Posted on: 07 Sep 2021 15:51

Hi Martin,

 

I did test the fix with the internal build and it seemed to work. Do you have the exact date for the release as we are planning to make a release for our app on September as well?

 

Thanks,

 

Arif

ADMIN
Martin Ivanov
Posted on: 20 Aug 2021 05:58

Hello Arif,

We hope the fix works for you. The next release is going live after the middle of this September. In the meantime, you can test the fix by downloading the latest internal build binaries.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Arif
Posted on: 19 Aug 2021 15:57

Hi Martin,

 

Thank you for including this on your next release. Do you have ETA on the release? We would like to have this fix in to our app.

 

Thanks,

Arif

ADMIN
Martin Ivanov
Posted on: 10 Aug 2021 14:13

Hello Arif,

We are marking this report as valid and changing its status to Unplanned. Stay tuned by following the feedback item.

In the meantime, you can use the workaround with the CanAutocompleteSelectItems property setting. I am afraid that currently, I cannot suggest an alternative workaround.

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Martin Ivanov
Posted on: 05 Aug 2021 12:43

Hello Arif,

It turns out that I've used the wrong value in my example. The CanAutocompleteSelectItems property should be False. Please excuse me for this. Here is the correct code snippet. I also updated the code snippet from my other post.

  <telerik:RadComboBox  CanAutocompleteSelectItems="False" />

Anyway, you are right and the reported behavior doesn't appear when the drop down is not opened. We will further research this and get back with more information as soon as possible.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Arif
Posted on: 02 Aug 2021 16:11

Hi Martin,

Unfortunately this trick did not work. I am still observing same behavior. It seems to act more like a bug than expected behavior as issue does NOT happen when dropdown is not open. Dropdown being open is making it follow different logic somehow. Please let me know if you have other workarounds I can try.

 

Thanks,

 

Arif

ADMIN
Martin Ivanov
Posted on: 02 Aug 2021 12:29

Hello Arif,

Thank you for the provided information and the project.

The reported behavior appears because of the Space toggles the selection in few situations. Before you press Space, the autocomplete has found an item and selected it. When you press Space, the code checks if the highlighted item is selected and if so, deselects it. You can disable this behavior if you set the CanAutocompleteSelectItems property of RadComboBox to False.

 

  <telerik:RadComboBox  CanAutocompleteSelectItems="False" />

 

Can you try this and let me know if it helps?

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.