Autocomplete: dmx-bind

Hello Guys,

I have an autocomplete where I have to set its ID as dynamic ID:

<input 
   is="dmx-autocomplete" 
   dmx-bind:id="tag_search_{{internal_name}}_{{inclusion_field_id}}_{{var_control_id.value}}" 
   dmx-bind:inclusion_field_id="{{inclusion_field_id}}" 
   class="form-control mb-2"
   id="inp_multi_sub" 
   name="multi" 
   dmx-bind:name="{{internal_name}}" 
   dmx-bind:data="option_list.split(&quot;,&quot;)" 
   optiontext="$value" 
   optionvalue="$value"
   dmx-on:updated="array.addUniq(value);inp_multi_sub.setValue('\'\'')" 
   placeholder="Start type...">

But the dmx-bind is not working. If I remove is=autocomplete, binding works.
How to deal with autocomplete dynamic IDs?Am I doing something wrong?

I’m using node.js + postgres.

Thanks for your time!

Community Page
Last updated: