Skip to content
Snippets Groups Projects
Commit b74cfe75 authored by Benoit Socias's avatar Benoit Socias Committed by qsm-odoo
Browse files

[FIX] web_editor: prevent dropping form fields outside of their form


Drop zones are available outside form when dragging form fields.
This leads to errors whenever the field is dropped outside a form.

This commit removes all drop zones outside the form when a field is
dragged.

Steps to reproduce:
- Edit Contact Us form.
- Drag'n'drop a field to the footer.
=> Error popup (should not be allowed in the first place)

task-2855670

closes odoo/odoo#94029

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent c0b3302b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment