This commit is contained in:
Torkel Ödegaard 2017-06-15 12:21:12 -04:00
parent 6a95df403a
commit 5f3b5fdcb2

View File

@ -194,17 +194,19 @@ export class FormDropdownCtrl {
const template = `
<input type="text"
data-provide="typeahead"
class="gf-form-input"
spellcheck="false"
style="display:none"></input>
data-provide="typeahead"
class="gf-form-input"
spellcheck="false"
style="display:none">
</input>
<a class="gf-form-label"
ng-class="ctrl.cssClass"
tabindex="1"
ng-click="ctrl.open()"
give-focus="ctrl.focus"
ng-bind-html="ctrl.display"></a>
ng-bind-html="ctrl.display">
</a>
`;
export function formDropdownDirective() {
@ -221,6 +223,7 @@ export function formDropdownDirective() {
onChange: "&",
cssClass: "@",
allowCustom: "@",
selectMode: "@",
},
link: function() {
}