Autocomplete doesn't submit by enter click

Looks like there is no submit by clicking enter for autocomplete. For desktop version we solved it by wrapping autocomplete with div handling key down. Since the current task is about adding a enter key submit to the mobile version, I figured out that element is used instead of , so surrounding div doesn’t work anymore.

Can you please provide some information about possible ways to solve this?

Hi @nikita-misty-timber,

I tried on the [the latest Widgets showcase]<INTERNAL_LINK>, and entering and saving values (both via keyboard and mouse click) appear to be working fine.
Could you give us more details on how to reproduce this issue?

You can find my Autocomplete element in attachment. At the video you can see that on desktop version enter doesn’t work, only options are shoed and closed. On mobile version enter does the submit, but doesn’t close the Search popup. However if it is closed manually you can see that search is executed right.

However, to solve enter problem in desktop version, I wrapped Autocomplete with the div and handled event to check if enter is clicked. But this workaround doesn’t solve mobile version problem described above.

In any case, I think that div workaround is not the right way of how Autocomplete should work. Looking forward to your answer.


Thanks for your response.
As I see, you’re working on https://docs.geta12.com/ and using 2024.06-ext1 version. I tried to reproduce on GetA12 2024.06-ext1
Here is what I get: Autocomplete can execute the expected result


Your side controls 2 main functions: onValueChanged and onOptionSelected. Could you recheck whether their expectation are all good?
Otherwise, I think we have to check directly. Please get in touch with me through Webex when needed: Quynh Thi Nhu Tran