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

QRadio Native form submit : Re-selection of last radio is absent on Chromium #15182

Closed
RemiBrb opened this issue Dec 28, 2022 · 2 comments · Fixed by #15183
Closed

QRadio Native form submit : Re-selection of last radio is absent on Chromium #15182

RemiBrb opened this issue Dec 28, 2022 · 2 comments · Fixed by #15183

Comments

@RemiBrb
Copy link

RemiBrb commented Dec 28, 2022

What happened?

When a q-form has multiple q-radio in it with the same name, re-selecting the last q-radio button and submitting the form results in the value being omited from submitResult. It seems to be related to Chromium browser, it works perfectly fine on Firefox.

What did you expect to happen?

I expect the value to be present in the submitResult.

Reproduction URL

https://codepen.io/RemiBrb/pen/mdjVaqy

How to reproduce?

On Chrome or Edge, open https://quasar.dev/vue-components/radio#native-form-submit :

  1. Click on radio button Polygon
  2. Click on any ohter radio button, Ellipse for example
  3. Click on radio button Polygon
  4. Click on submit button

(Working scenario : Click on radio button Polygon then Click on submit button).

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Chrome, Microsoft Edge

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@github-actions
Copy link

Hi @RemiBrb! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

@RemiBrb RemiBrb changed the title QRadio Native form submit : Re-selection of last radio is absent when all radios have the same name in a q-form QRadio Native form submit : Re-selection of last radio is absent on CHromium Dec 28, 2022
@RemiBrb RemiBrb changed the title QRadio Native form submit : Re-selection of last radio is absent on CHromium QRadio Native form submit : Re-selection of last radio is absent on Chromium Dec 28, 2022
rstoenescu pushed a commit that referenced this issue Dec 28, 2022
…ive form value and as .attr to change the html attr #15182 (#15183)

close #15182
@rstoenescu
Copy link
Member

Fix will be available in Quasar v2.11.3

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