Skip to content

Commit 0011ae2

Browse files
committed
fix input_update() failed on select()
1 parent faf5bf2 commit 0011ae2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webiojs/src/models/input/select.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export class Select extends InputItem {
6767
if (key in ignore_keys) continue;
6868
input_elem.attr(key, this.spec[key]);
6969
}
70+
71+
// @ts-ignore
72+
input_elem.selectpicker('refresh');
7073
}
7174

7275
update_input(spec: any): any {

0 commit comments

Comments
 (0)