Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web_editor: update all values when using up/down on multi-value
When using the up/down arrows in an `InputUserValueWidget`, only the first value is updated but the other ones are lost. This commit adapts the behavior so that all parts of the composite value are updated. When decreasing, parts that have reached zero are set to zero. Steps to reproduce: - Drop a "Banner" snippet. - Select the text block. - Set the "Border" option to "5 10". - Press the up or down key. => Only the "5" was updated, the "10" was lost. task-3800288 closes #159331 X-original-commit: 3c2eabb Signed-off-by: Robin Lejeune (role) <role@odoo.com> Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
- Loading branch information