Interactive Playground
Experiment with Autocomplete states, sizing, and popover behaviors.
Configuration
Top
Behavior
Small (sm)
Appearance
None
320px (Default)
States
v-model Output:
""
""
Live Source Code
Real-World Usage Examples
Explore custom templates, async API fetching, and dynamic creation workflows.
1. Object Resolution & Custom Slots
Uses optionLabel="name" to bind object keys automatically, and injects the `#option` template for rich dropdown content.
2. Asynchronous API Fetching
Turns off internal filtering (:filter="false") and triggers an 800ms debounce on the @search event to simulate backend calls.
Current Database Array:Admin, Dispatcher, Driver
3. Dynamic "Create New" Routing
Typing a role that doesn't exist exposes the `#action` slot. Clicking the green 'Add' button fires @create-new, appending the value to the array and selecting it.