0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Vue.jsでセレクトされたデータを別のインプットボックスで表示する

0
Posted at

セクレトされたデータを別のところのinput type="text"で表示するとき次ではだめだった。


// だめな書き方
<input type="text" v-cloak value="@{{selected.hoge}}">

// これでできた
<input type="text" v-bind:value="selected.hoge">

Vue.js
クラスとスタイルのバインディング
https://jp.vuejs.org/v2/guide/class-and-style.html

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?