Commit 5f3b5fdc by Torkel Ödegaard

updated

parent 6a95df40
...@@ -194,17 +194,19 @@ export class FormDropdownCtrl { ...@@ -194,17 +194,19 @@ export class FormDropdownCtrl {
const template = ` const template = `
<input type="text" <input type="text"
data-provide="typeahead" data-provide="typeahead"
class="gf-form-input" class="gf-form-input"
spellcheck="false" spellcheck="false"
style="display:none"></input> style="display:none">
</input>
<a class="gf-form-label" <a class="gf-form-label"
ng-class="ctrl.cssClass" ng-class="ctrl.cssClass"
tabindex="1" tabindex="1"
ng-click="ctrl.open()" ng-click="ctrl.open()"
give-focus="ctrl.focus" give-focus="ctrl.focus"
ng-bind-html="ctrl.display"></a> ng-bind-html="ctrl.display">
</a>
`; `;
export function formDropdownDirective() { export function formDropdownDirective() {
...@@ -221,6 +223,7 @@ export function formDropdownDirective() { ...@@ -221,6 +223,7 @@ export function formDropdownDirective() {
onChange: "&", onChange: "&",
cssClass: "@", cssClass: "@",
allowCustom: "@", allowCustom: "@",
selectMode: "@",
}, },
link: function() { link: function() {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment