Issue with ComboBoxComponent autocomplete "valueChange"

1 Answer 61 Views
Miscellaneous
Missing User
Missing User asked on 14 Jan 2022, 07:42 AM | edited on 14 Jan 2022, 07:52 AM
Hi one question please, I have an issue related to ComboboxComponent using keyboard "Enter".
Here I use valueChange on my autocomplete to do some stuff (call api etc.) after the value is being changed. My case is following:
1. I search an address in my autocomplete and that address has to suggest 3 other sub address, it works so
2. I go down with the "Arrow bottom" and select the address with key "Enter" and its ok the value is changed 
3. Then I select the second sub suggested address with the key "Arrow bottom" and hit "Enter" in this case I see in my autocomplete that the value i changed and it selected the address, but the valueChange doesn't trigger and I am not able to call an api.
4. So the value changes it means valueChange triggers when I click the outside, namely when I the "blur" happens.
Could you fix it or tell me how to fix this issue? Thanks.

1 Answer, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 18 Jan 2022, 03:08 PM

Hello Hayk,

The ValueChanged event in the ComboBox would fire when:

  • The user clicks the Enter button 
  • The user uses the up or down arrow
  • The user clicks the Escape button
  • On every keystroke in the input (if the AllowCustom attribute is set to true)

To further test this behavior I have used the example from the Events article and the ValueChanged section. Based on the tests I can confirm that this is the correct behavior and I was not able to reproduce the issue.

As for further steps, I would like to ask you for a runnable sample code where the issue is reproducible. You could also send us a short video where I can see the exact reproduction steps. 

Regards,
Svetoslav Dimitrov
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.

Tags
Miscellaneous
Asked by
Missing User
Answers by
Svetoslav Dimitrov
Telerik team
Share this question
or