Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property '__VLS_radioBinding' does not exist on type 'ElementAttrs<InputHTMLAttributes>'.ts(2322) #1390

nakorndev opened this issue Jun 4, 2022 · 0 comments
bug Something isn't working


Copy link

I got this error on v-model in the below HTML code. But the web page is still running as expected. Is it a bug?

<div class="form-check form-check-inline">
  <input id="roleUser" v-model="input.role" class="form-check-input" type="radio" name="role" value="user">
  <label class="form-check-label" for="roleUser">{{ $t('ROLE_USER') }}</label>
<div class="form-check form-check-inline">
  <input id="roleInstructor" v-model="input.role" class="form-check-input" type="radio" name="role" value="instructor">
  <label class="form-check-label" for="roleInstructor">{{ $t('ROLE_INSTRUCTOR') }}</label>
const input = reactive({
  firstName: '',
  lastName: '',
  email: '',
  password: '',
  role: 'user',
(property) __VLS_radioBinding: string
Type '{ id: string; __VLS_radioBinding: string; class: string; type: string; name: string; value: string; }' is not assignable to type 'ElementAttrs<InputHTMLAttributes>'.
  Property '__VLS_radioBinding' does not exist on type 'ElementAttrs<InputHTMLAttributes>'.ts(2322)


@johnsoncodehk johnsoncodehk added the bug Something isn't working label Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
bug Something isn't working
None yet

No branches or pull requests

2 participants