nickmessing / babel-plugin-jsx-v-model

JSX Syntactic Sugar Plugin for v-model
MIT License
155 stars 12 forks source link

This directive makes v-show not work when been added after it #12

Open David-Tsui opened 6 years ago

David-Tsui commented 6 years ago

After adding v-model to something with v-show directive, v-show seems to be not work.

v-show works

<div
  v-model={ this.updateGroupForm.show }
  v-show={ showSetting }

v-show does not work

<div
  v-show={ showSetting }
  v-model={ this.updateGroupForm.show }
WJWang commented 6 years ago

I have the same issue.