mirror of https://github.com/ColorlibHQ/gentelella
Merge pull request #217 from christianesperar/master
Fix autocomplete suggestions not alignedpull/220/head
commit
a9d77abf41
|
@ -626,8 +626,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-md-3 col-sm-3 col-xs-12">AutoComplete</label>
|
<label class="control-label col-md-3 col-sm-3 col-xs-12">AutoComplete</label>
|
||||||
<div class="col-md-9 col-sm-9 col-xs-12">
|
<div class="col-md-9 col-sm-9 col-xs-12">
|
||||||
<input type="text" name="country" id="autocomplete-custom-append" class="form-control col-md-10" style="float: left;" />
|
<input type="text" name="country" id="autocomplete-custom-append" class="form-control col-md-10"/>
|
||||||
<div id="autocomplete-container" style="position: relative; float: left; width: 400px; margin: 10px;"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -1546,8 +1545,7 @@
|
||||||
|
|
||||||
// initialize autocomplete with custom appendTo
|
// initialize autocomplete with custom appendTo
|
||||||
$('#autocomplete-custom-append').autocomplete({
|
$('#autocomplete-custom-append').autocomplete({
|
||||||
lookup: countriesArray,
|
lookup: countriesArray
|
||||||
appendTo: '#autocomplete-container'
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue