diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-01-09 12:41:35 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-01-09 13:09:50 +0000 |
| commit | e590609ebb429c6254766aa1fd8cab3ce3fd4c74 (patch) | |
| tree | 34ca3a4b3154eb1d93fa6d53f225dafb6d3de3f6 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 03ee121d6a31290f1699fdf4791970e1abafa260 (diff) | |
[IMP] web_editor: allow to enable option widgets by enabling another
With this commit, we can now say "on preview/selection of a widget,
also preview/selection these other widgets". For this, add a
`data-trigger` with comma-separated widget names.
A `data-trigger-value` can also be used to indicate the values these
other widgets should have during preview/selection... but this currently
only works for colorpicker widgets thanks to a big big hack that should
be improved later.
Part of https://github.com/odoo/odoo/pull/42986
closes odoo/odoo#42986
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
