Skip to content

Commit

Permalink
fix: radio input use value prop for v-model
Browse files Browse the repository at this point in the history
close #1390
  • Loading branch information
johnsoncodehk committed Jun 4, 2022
1 parent d6db872 commit 2a78f39
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/vue-code-gen/src/generators/template.ts
Expand Up @@ -2003,9 +2003,6 @@ function getModelValuePropName(node: CompilerDOM.ElementNode, vueVersion: number
if (tag === 'input' && type === 'checkbox')
return 'checked';

if (tag === 'input' && type === 'radio')
return '__VLS_radioBinding';

if (
tag === 'input' ||
tag === 'textarea' ||
Expand Down

0 comments on commit 2a78f39

Please sign in to comment.