(spec: any)
| 112 | } |
| 113 | |
| 114 | update_input(spec: any): any { |
| 115 | let attributes = spec.attributes; |
| 116 | if ('datalist' in attributes) { |
| 117 | const datalist_html = Mustache.render(datalist_tpl, {datalist: attributes.datalist}); |
| 118 | this.element.find('datalist').empty().append(datalist_html); |
| 119 | delete attributes['datalist']; |
| 120 | } |
| 121 | |
| 122 | this.update_input_helper(-1, attributes); |
| 123 | } |
| 124 | |
| 125 | get_value(): any { |
| 126 | this.rectify_input() |
no test coverage detected