The Filter plugin will automatically use items from the Suggestions plugin if both are present at the same time. Suggestions plugin dispatches setSuggestions event which is processed by the Filter plugin and passed items are used to filter the input. That is unless filterItems options is explicitly set as shown in the example. In this case specified options take precedence.

Live Demo

Form Content

This is the data that will be submitted with HTML form.




This is the original input HTML.

<textarea id="textarea" class="example" rows="1"></textarea>

This is the JavaScript source that was used to initialize this demo instance of TextExt.

<script type="text/javascript">
        plugins : 'autocomplete suggestions tags filter',

        suggestions: [
Fork me on GitHub