(value, text)
| 277 | } |
| 278 | |
| 279 | createOption(value, text) { |
| 280 | const option = document.createElement('option'); |
| 281 | option.value = value; |
| 282 | option.text = text; |
| 283 | return option; |
| 284 | } |
| 285 | |
| 286 | populateSelect(id, iterable, labelFn = null, autoselect = null) { |
| 287 | if (labelFn == null) labelFn = e => e; |
no test coverage detected