[Resolved] Latest update cause select field to populate empty option.
This thread is resolved. Here is a description of the problem and solution.
Problem:
Views 2.6.2 changed how empty default options are added to Views filters where the options are manually set, adding an empty option even if one already exists.
Solution:
This was an unintended change which will be reverted in the next version of Views.
I can't replicate the issue, can you give more details about where exactly you see this?
I have a Types select field which works fine on the backend post edit screens, fine in front-end Forms, and also outputs its value correctly in templates.
When you insert a select field filter control in an archive with manual options where you include a default option, since Views 2.6.2 an additional empty default option has been added automatically, too.
Let me check with the developers before you go making any changes, because you might edit your archives to remove the manual default option, only to find that the automatic default option gets removed in a future update.
I'll update you when I hear from them about how to proceed.
As I said, it wasn't intended, the change looks to be a side effect of something else that was changed in Views 2.6.2, we can call it a bug, and it will be fixed soon.
If you have made changes to adapt to the bug then I'm sorry if that involves changing back again when the bug is fixed.
I expect it to be resolved quickly and I'll let you know when it is.