Fixes #6318: Made widgets more error-tolerant and user-friendly when certain option values are null