Skip to content

Combining <datalist> with <option :value="..."> breaks data selection #12189

Discussion options

You must be logged in to vote

use v-memo

<datalist id="my-datalist" v-memo="[values]">
  <option v-for="value in values" :value="value">{{value}}</option>
</datalist>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@spiffytech
Comment options

@edison1105
Comment options

Answer selected by spiffytech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants