odoo
odoo copied to clipboard
[FW][FIX] web_editor: make empty we-select visible
When a we-select has no elements, it is drawn as a flat line.
This commit puts a "/" in its toggler content. This character is the same one as the one that is displayed if the selected value is not one of the available values.
Steps to reproduce:
- Delete all
website.snippet.filter - In debug mode, drop a "Dynamic Snippet" in a website page
- Select it => The "Filter" option was displayed as a flat line.
opw-3166634
Forward-Port-Of: odoo/odoo#112117
This PR targets saas-15.2 and is part of the forward-port chain. Further PRs will be created up to master.
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
