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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悶] Qwik Form resets translated strings on submit to original language (qwik-speak) #6045

Closed
genox opened this issue Mar 23, 2024 · 2 comments
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working

Comments

@genox
Copy link

genox commented Mar 23, 2024

Which component is affected?

Qwik Runtime

Describe the bug

When submitting a form, the translated strings are reset to the original language (dev/prod) or are empty (in preview mode).

This happens using qwik-speak for i18n and with both vanilla forms and modular-forms augmented forms.

It seems as almost the entire page's components code is reloaded when submitting a form, see:

Screen.Recording.2024-03-22.at.18.40.44.mov

Reproduction

https://github.com/genox/qwik-form-issue-test

Steps to reproduce

yarn install
yarn run dev
go to index
choose either modular-forms or vanilla form
hit submit
see German change to English

System Info

latest

Additional Information

No response

@genox genox added STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working labels Mar 23, 2024
@genox
Copy link
Author

genox commented Mar 23, 2024

This form issue is currently, unfortunately, a release blocker for a project that was supposed to go online this week, since it affects every form present. If there is a V2 beta I could give it a spin but I haven't seen any announcements.

@genox
Copy link
Author

genox commented Mar 23, 2024

This was an error on my part. I accidentally had twice and I haven't realised for the longest time, probably causing a weird side effect here and there that looked like a bug. Sorry for the inconvenience.

@genox genox closed this as completed Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant