"On click" option opens all fields with this configuration activated on the same page
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3402167. -->
Reported by: [Edouri](https://www.drupal.org/user/3791031)
Related to !46
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>If you want to use the "On click" for the Suggestions dropdown option for more than one field on a content type creation form, clicking on the first field will open all fields suggestions.</p>
<p><img src="https://www.drupal.org/files/issues/2023-11-16/tagify_fields_opened.png" alt="Suggestions are opened in the same time"></p>
<p>If you click on the second field, it won't open the first field suggestion dropdown.</p>
<p><img src="https://www.drupal.org/files/issues/2023-11-16/tagify_normal_display.png" alt="On click suggestion works properly if the second field is clicked"></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Tested on Chrome and Safari.<br>
- Create 2 taxonomy vocabularies, with some taxonomy terms;<br>
- Create a new content type, and add 2 entity reference fields to the 2 taxonomy vocabularies created;<br>
- In display form configuration for this content type, select "Tagify" for those two fields and activate the option "Suggestions dropdown<br>
On click" for them;<br>
- Create a new content for the created content type, and click on the first field which is displayed in the form.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue