-
- Downloads
[FIX] web: form_compiler, classes on FormLabel in a group
Before this commit, when compiling a form group, the scope class is added to the elements of the outer group. It was added on the element class attribute. The issue is that FormLabel don't have a class attribute but a className attribute. So the class wasn't shown on the DOM. Now, the class is added on the FormLabel className attribute and shown in the DOM. closes odoo/odoo#105184 Signed-off-by:Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Lucas Perais (lpe) <lpe@odoo.com>
Showing
- addons/web/static/src/views/form/form_compiler.js 19 additions, 9 deletionsaddons/web/static/src/views/form/form_compiler.js
- addons/web/static/tests/views/form/form_compiler_tests.js 1 addition, 1 deletionaddons/web/static/tests/views/form/form_compiler_tests.js
- addons/web/static/tests/views/form/form_view_tests.js 29 additions, 0 deletionsaddons/web/static/tests/views/form/form_view_tests.js
- addons/web/static/tests/webclient/settings_form_view/settings_form_view_tests.js 1 addition, 1 deletion.../webclient/settings_form_view/settings_form_view_tests.js
Loading
Please register or sign in to comment