Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js 3 Masterclass

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Creating a Simple Autocomplete Location Field

🚧 PLEASE NOTE: This masterclass is built with the Options API

The Composition API Masterclass is coming soon!

In this lesson, we use the restcountries.com REST API to dynamically fetch options for the locations input on the profile edit form.

We also take advantage of the native browser element datalist to show those options to the user in real time as they type.