Skip to content

Radiobutton same name errors problem #5001

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

Open
2 of 5 tasks
Ischafak opened this issue Mar 6, 2025 · 0 comments
Open
2 of 5 tasks

Radiobutton same name errors problem #5001

Ischafak opened this issue Mar 6, 2025 · 0 comments

Comments

@Ischafak
Copy link

Ischafak commented Mar 6, 2025

What happened?

i have

radiobutton component something like this

<VField
      v-slot="{ errors }"
      v-model="localValue"
      :name="name"
      :rules="rules"
      :validate-on-input="true"
    >
      
        <input
          v-model="localValue"
          type="radio"
          :value="valueData"

        >

    </VField>

I have multiple radiobuttons in 1 page.

on veevalidate "vee-validate": "4.11.8", with same name i get errors[0] for each radiobutton.

but after i upgrade "vee-validate": "4.15.0", i only get the error on my last radiobutton.

am i doing something wrong normally i need to make every radiobutton red border if that happens.

Reproduction steps

...

Version

Vue.js 3.x and vee-validate 4.x

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

Relevant log output

Demo link

.

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant