Skip to content

Commit

Permalink
fix input_update() failed on select()
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Mar 24, 2022
1 parent faf5bf2 commit 0011ae2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webiojs/src/models/input/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export class Select extends InputItem {
if (key in ignore_keys) continue;
input_elem.attr(key, this.spec[key]);
}

// @ts-ignore
input_elem.selectpicker('refresh');
}

update_input(spec: any): any {
Expand Down

0 comments on commit 0011ae2

Please sign in to comment.