Skip to content

Instantly share code, notes, and snippets.

@SidneyAllen
Created November 11, 2021 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SidneyAllen/51441b8d5b380050161208d56b55adb9 to your computer and use it in GitHub Desktop.
Save SidneyAllen/51441b8d5b380050161208d56b55adb9 to your computer and use it in GitHub Desktop.
<template>
<form class="form">
<h3>Vue 3 Autocomplete Form</h3>
<div class="fields">
<div class="field">
<label for="city">Address</label>
<div>
<input type="text" name="address" id="address" v-model="address" />
</div>
</div>
<div class="field">
<label for="city">City</label>
<div>
<input type="text" name="city" id="city" v-model="city" />
</div>
</div>
<div class="field">
<label for="state">State</label>
<div>
<input type="text" name="state" id="state" v-model="state" />
</div>
</div>
<div class="field">
<label for="zip">Zip</label>
<div>
<input type="text" id="zip" name="city" v-model="zip" />
</div>
</div>
</div>
<input id="submit" class="submit" type="submit" value="Submit" />
</form>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment