Skip to content

Commit 6c6b10b

Browse files
committed
fix bug (?)
1 parent 09eb54c commit 6c6b10b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,14 @@ export class ConfigClass {
210210
}
211211

212212
// Method input
213-
input_value = undefined;
214213
if ("method" in widget) {
215-
if (widget.method === method_name) {
214+
if (widget.method == method_name) {
216215
input_value = val;
217216
}
218217
}
218+
else {
219+
input_value = undefined;
220+
}
219221

220222
// Slots
221223
if ("slots" in widget && widget.slots != undefined) {

0 commit comments

Comments
 (0)