132
Views
2
Comments
Solved
Auto completion does not work, when the field was updated by another field's onChange
Question

There is a form field with autocomplete already set up.

When the field was updated by another field's onChange Action(set value -> assign -> Ajax Refresh), auto completion does not work.

Please tell me about this solution.

place folder "Type or double-click for list" does not apper.

2020-02-28 09-46-54
Eduardo Jauch
Solution

Hello Tatsuya,

When you Ajax refresh an input, its ID changes, and the JavaScript associated stops working.

Instead, you must Ajax refresh both the input and the Input_AutoComplete widget, so that the last one uses the new ID.

Cheers.

2018-08-15 00-36-02
Tatsuya Sato

Hi Eduardo,

Thank you for your brief advice!

It is solved.

Thank you very much!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.