[FIX] web_editor: traceback in link creation in debug mode.

Before this commit:

On creating link in debug mode produces prop validation error, and link
dialog doesnot appear

After this commit:

Now the issue is resolved and link dailog appers.

task-3571940

closes odoo/odoo#140178

X-original-commit: 8519cbab2e22506b12a1d93066c2c4fd87e753fe
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Sanjay Sharma (shsa) <shsa@odoo.com>
This commit is contained in:
shsa-odoo
2023-10-31 06:02:43 +00:00
parent 03b5ba865f
commit 948c6a2ff3
@@ -10,6 +10,7 @@ export class LinkDialog extends Link {
static props = {
...Link.props,
focusField: { type: String, optional: true },
close: { type: Function },
onClose: { type: Function },
onSave: { type: Function },
};