mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 10:00:17 -04:00
- Use $onChanges instead of $watch (fixes an issue where the query results was constantly reloading). - Choose the first value when first loading the options.
2 lines
148 B
HTML
2 lines
148 B
HTML
<select ng-model="$ctrl.param.value" class="form-control" ng-options="option.value as option.name for option in $ctrl.queryResultOptions">
|
|
</select> |