Autocomplete dropdownOptions
See original GitHub issueSo with select fields I can init with:
$('select').formSelect({ dropdownOptions:{ container: document.body, } });
which makes it so if the select is in a modal, it doesn’t clip the dropdown/ affect the modal’s size. Here’s a screenshot of this working correctly:
When trying the same with autocomplete, the dropdownOptions option is ignored. Here is the init i am using:
$(this).autocomplete({ data: options_list, dropdownOptions:{ container: document.body, } });
Which results in this:
How do we set the dropdown container for autocomplete elements?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
JavaScript Autocomplete Configuration - DevExtreme
An object defining configuration properties for the Autocomplete UI component. ... the nested component that configures the dropDownOptions property does ...
Read more >Autocomplete Dropdown using native HTML
The input starts behaving like a select and when we start typing it searches inside the options of the datalist. Let's see it...
Read more >Autocomplete drop-down options from spreadsheet data
Use spreadsheet data to autocomplete Materialize CSS chips & select components using Apps Script.
Read more >Remove autocomplete dropdown options when the submit ...
$( ".selector" ).autocomplete( "close" ); use this code in the click function of the button...
Read more >Dropdowns Components | React Widgets
A set of `` alternatives, and autocomplete components, Dropdowns map a. ... Each dropdown component accepts a data prop for providing the dropdown...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Added dropdownOptions to autocomplete component in cee8eac2
@rmountjoy92 did this fix the issue for you?