Integration with Facets 3.0
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3501918. -->
Reported by: [marksmith](https://www.drupal.org/user/1887334)
Related to !212 !176
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently Tagify's Facets submodule does not work with Facets 3.0, which is using Better Exposed Filters as the exposed filter instead of the previous indigenous solution. </p>
<p>With Facets 3.0.0 and Better Exposed Filters 7.0.4 Tagify throws two warnings and one error on a Drupal 10.4 platform.</p>
<pre>Warning: Undefined array key "#target_type" in Drupal\tagify\Plugin\better_exposed_filters\filter\Tagify->exposedFormAlter() (line 63 of /.../web/modules/contrib/tagify/src/Plugin/better_exposed_filters/filter/Tagify.php)<br><br>Warning: Undefined array key "#tags" in Drupal\tagify\Plugin\better_exposed_filters\filter\Tagify->exposedFormAlter() (line 64 of /.../web/modules/contrib/tagify/src/Plugin/better_exposed_filters/filter/Tagify.php)<br><br>InvalidArgumentException: Missing required #target_type parameter. in Drupal\tagify\Element\EntityAutocompleteTagify::processEntityAutocompleteTagify() (line 122 of /.../web/modules/contrib/tagify/src/Element/EntityAutocompleteTagify.php).</pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Drupal 10.4 platform with modules Facets v. 3.0.0, BEF 7.0, Tagify and Tagify facets 1.2.30 enabled throws an ajax error in views and the additional errors on saving the view.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>This is probably a feature request, based on to the significant changes introduced with Facets 3 in its dealing with AJAX and perhaps also the new BEF 7.0.</p>
issue