Commit 1ac81c3a by Torkel Ödegaard

updated dropdown typeahead to place down instead of up, works better when inside scrollable area

parent 7455dfcc
......@@ -12,7 +12,7 @@ export function dropdownTypeahead($compile) {
const buttonTemplate =
'<a class="gf-form-label tight-form-func dropdown-toggle"' +
' tabindex="1" gf-dropdown="menuItems" data-toggle="dropdown"' +
' data-placement="top"><i class="fa fa-plus"></i></a>';
' ><i class="fa fa-plus"></i></a>';
return {
scope: {
......@@ -130,7 +130,7 @@ export function dropdownTypeahead2($compile) {
const buttonTemplate =
'<a class="gf-form-input dropdown-toggle"' +
' tabindex="1" gf-dropdown="menuItems" data-toggle="dropdown"' +
' data-placement="top"><i class="fa fa-plus"></i></a>';
' ><i class="fa fa-plus"></i></a>';
return {
scope: {
......
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