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

[🐞] V2 - QWIK ERROR when using a value of useSignal or useStore in an Intl #7167

Open
devcaeg opened this issue Dec 15, 2024 · 2 comments
Assignees

Comments

@devcaeg
Copy link

devcaeg commented Dec 15, 2024

Which component is affected?

Qwik Runtime

Describe the bug

For some reason, passing the value formatter.format(price.value) to the input, generates a QWIK ERROR

If price.value is replaced by a fixed value, for example 23000 the error disappears.

Reproduction

https://qwikdev-build-v2.qwik-8nx.pages.dev/playground/#v=2.0.0-alpha.3&f=7VZLasMwEF37FoPowgFh3A%2BFFtRVCGTTKxTHcaggsk2dlJhgyEHay%2BUkfTNyjArpognZxXghNM%2FyaDR67wVN8%2FhwtGk04R0E%2BExj4qtRf1iwuwlk3WvFS4ykBhQLUbaCfgHJhD4tV8vkVYATCcWqaJTGulGUr0F6Zd6ObVODlZ5JNa2bVUulEXTZxrq1m0Ct%2BczHFmSHPkg5JhQM%2BLzIrcsEz618moc6ACzbDyyOpyrFi9yYLcrwVnyiHpqgnXz9%2B6oILpKaJCAVyIUhv824B%2FpppCXIbtT5AXaaF%2B8VXxKzHaqV%2BFF8d5%2Bm6QHK98woZgrlJ2TFI18FaYw6glRPF7TffQXT%2B903xAPlkd%2FPadZSRgu7wVDimg9u0AvJQuwEZAnz7EDqGtLQJJJI36Ch8%2FybSm6fArP8Hyr51atXIrkEkfwA

Steps to reproduce

No response

System Info

npmPackages:
    @qwik.dev/core: 2.0.0-alpha.3
    @qwik.dev/router: 2.0.0-alpha.3
    typescript: 5.7.2
    undici: 7.0.0 
    vite: 6.0.1

Additional Information

No response

@devcaeg devcaeg added STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working labels Dec 15, 2024
@Varixo Varixo self-assigned this Dec 16, 2024
@Varixo Varixo added COMP: runtime VERSION: upcoming major and removed STATUS-1: needs triage New issue which needs to be triaged labels Dec 16, 2024
@Varixo
Copy link
Member

Varixo commented Dec 30, 2024

The problem is the Intl serialization. It is not that easy, because we can't retrieve all data for the Intl constructor from already created object

@wmertens
Copy link
Member

@Varixo actually gpt seems to think it's possible

https://chatgpt.com/share/6772c498-bf0c-8012-8a44-d357a18c49be

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

No branches or pull requests

3 participants