Missing check on the autosumbit option

Created on 20 February 2025, 5 days ago

Problem/Motivation

I got this warning message when I add an autocomplete filter.

Warning: Undefined array key "autocomplete_autosubmit" in line 225 of modules/contrib/views_autocomplete_filters/src/Plugin/views/filter/ViewsAutocompleteFiltersTrait.php

Steps to reproduce

This happens when I don't check the option Autosubmit on selection, save the views and go to the page of the views.

Proposed resolution

Check, before using this option in the code.

Remaining tasks

Creation of the patch.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇮Ivory Coast sgourebi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024