(e: any)
| 114 | } |
| 115 | |
| 116 | on_reset(e: any) { |
| 117 | // need to wait some time to get the select element be reset, and then update `selectpicker` |
| 118 | if (this.use_bootstrap_select) |
| 119 | setTimeout(() => { |
| 120 | // @ts-ignore |
| 121 | this.element.find('select').selectpicker('render'); |
| 122 | }, 100) |
| 123 | } |
| 124 | |
| 125 | get_value(): any { |
| 126 | let raw_val = this.element.find('select').val(); |