Add a new option to select the method used to show suggestions dropdown field widget settings
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3357257. --> Reported by: [gxleano](https://www.drupal.org/user/3591999) Related to !36 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Sometimes the users don't know which tags are available, so would be useful to give them the possibility to show the available tags on click.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add a new option to select the method used to show suggestions dropdown field widget settings.</p> <p><a href="https://github.com/yairEO/tagify#suggestions-list">On the library documentation</a>, we can find the next setting option:</p> <ul> <li><code>enabled</code> - <em>this is a numeral value that tells Tagify when to show the suggestions dropdown, when a minimum of N characters were typed.</em></li> </ul> <p>In this case, in order to do it more understandable for the users, we are going to provide them the possibility to configure the suggestions dropdown with the next two options:<br> - <code>On click</code> (0) - <em>Shows the dropdown immediately on focus</em><br> - <code>When 1 character is typed</code> (1) - <em>Shows suggestions dropdown after 1 typed character</em></p> <p><strong>Example:</strong></p> <p><img src="https://www.drupal.org/files/issues/2023-05-01/suggestions_dropdown_setting.png" alt="Suggestions dropdown setting"></p> > Related issue: [Issue #3308320](https://www.drupal.org/node/3308320)
issue