diff options
| author | Aaron Bohy <aab@odoo.com> | 2020-04-29 07:21:32 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-05 08:48:34 +0000 |
| commit | 56787d587858760355e6703f1afce54a66f7800f (patch) | |
| tree | 06627b0330690c06453edf38fab58565fef8703d /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | a1d3e224d874dcee966b2df97f24605e816d40d4 (diff) | |
[REF] web: field decoration
This commit refactors the way the decoration-xxx attributes are
applied to field widgets/components, in a way that it can be
overridden in a given field or component to generate the approriate
className. By default, 'decoration-x' applies className 'text-x'.
This will be necessary for the new 'FieldBadge' component, which
needs to apply 'bg-x' classNames instead of 'text-x'.
Part of task 2195254
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
