So I am not sure why/how but before when I had a select field in a search in a view there was no API field indicating a "blank" default_label. So on front end the first choice is blank/nothing and the default_label is not used on back end. This has worked fine for the last 10+ versions.
After updating to the latest last night I noticed that the first line on the front end wasn't blank. This broke search obviously because you had to choose every field. Even more it broke pagination since pagination defaulted to the top choice on each field. I am not sure if this is the behavior you wanted in the update but you should warn people. Every view across all of our sites is basically non-working because of such a small but significant change.
Just FYI if others come across this - just putting in the field default_label="-- Please Select -- " will fix this. Another note - "Edit Field" did not work when I highlighted my bracketed code in the view. So either you need to delete that and also the custom field filter.
Then you can add the field in and add the settings you want including default_label. However - and this is definitely a bug - if you chose to leave the default_label blank the field will not show up in your bracket and the field will break your search and pagination.
Hello,
Yes, you are right, you can use attribute "default_label" to setup the default label for a select field.
For the question:
"Edit Field" did not work when I highlighted my bracketed code in the view
I have tried it in in a fresh wordpress installation, there isn't similar problem, in case it is a compatibility problem, please check these:
1) Make sure you are using the latest version of Toolset plugins
2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017
3) Create a fresh new view and test again
4) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out view URL and the field name, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/