Blank index in array passed to convertExposedInput()

Created on 7 January 2020, over 4 years ago
Updated 14 June 2024, 15 days ago

In my views, I override the text for the filter button for exposed filters. The text is rendered correctly, but while debugging another issue, I noticed there's an element in the $input array (first arg for that member function) with a blank index. For example, the last five items in that array for one of my views are:

'submit' => "Filter"
'reset' => "Reset"
'form_build_id' => "form-GeIWX9X-mNXDa_BxzyPZcHacqwiZjszmrvfn1VLCMbw"
'form_id' => "views_exposed_form"
'' => "Filter"

I have verified that it is related to overriding the button text because I changed it and the new value showed in the array (as well as on the page). I suspect that it is rendering correctly because of the 'submit" element of the array.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States ExTexan

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024