Facet widget submits invalid values
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3583426. --> Reported by: [prudloff](https://www.drupal.org/user/3611858) Related to !206 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The facet widget always submits the entered value on change, even if the value is not a valid choice.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Create a search_api view with a tagify facet.<br> Write some random string in the facet field and click outside: the string is submitted.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>tagify-widget.js should check if the value is valid before submitting it.</p> <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