cripting: send(): ignore ignoreDefaults property

This commit is contained in:
jean-emmanuel 2022-04-02 15:29:06 +02:00
parent adaf42bb61
commit 753a6d5128
3 changed files with 4 additions and 3 deletions

View file

@ -364,7 +364,7 @@ class Widget extends EventEmitter {
v: this.getValue(true),
}
if (this.getProp('ignoreDefaults')) data.i = 1
if (this.getProp('ignoreDefaults') && !options.force) data.i = 1
if (overrides) {
for (var k in overrides) {