Magicsuggest is a flexible autosuggest combobox that gives suggestions whenever the user starts typing in the field. Using this feature will reduce the necessity of typing, mainly on mobile devices, where the typing in of each letter is cumbersome.
By default, Magicsuggest has some good features, such as holding the Ctrl key to select multiple items and allowing the user to add a new input using the Enter key after having entered the text.
The JSON data source is used to populate the combobox. There are some options available here:
No data source: When left as
null
, the combobox will not suggest anything. It can still enable the user to enter multiple entries if the allowed FreeEntries are set totrue
(default).Static source: It uses an array of JSON objects, an array of strings, or even a single CSV string as the data source.
URL: We can pass the URL from which the component will fetch its JSON data. The data will be fetched using a
POST
AJAX request...