Static Array Suggestions
This example filters a local array with a case-insensitive prefix match. It also shows the selected value below the input so the callback behavior stays visible.
onSelect callback update this panel.One-Time JSON Loading
This example initializes with dataUrl. The demo intercepts the request and returns a built-in payload, so the behavior still works from a plain local file without a server.
The payload includes common dictionary words. The plugin fetches once at initialization and filters the cached array after that first response.
Live AJAX Endpoint
This example uses the plugin url mode with debouncing. The request log below simulates an endpoint response so visitors can understand the live query pattern immediately.
- StatusWaiting for input
Last-Word Completion
This expanded example enables matchLastWord so only the final token updates. It works well for tags, commands, or phrase builders that must preserve earlier words.