summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields_owl.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-04-29 07:21:32 +0000
committerAaron Bohy <aab@odoo.com>2020-05-05 08:48:34 +0000
commit56787d587858760355e6703f1afce54a66f7800f (patch)
tree06627b0330690c06453edf38fab58565fef8703d /addons/web/static/src/js/fields/basic_fields_owl.js
parenta1d3e224d874dcee966b2df97f24605e816d40d4 (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/src/js/fields/basic_fields_owl.js')
0 files changed, 0 insertions, 0 deletions