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

Failed to parse props in custom element #4392

Closed
akibrk opened this issue Aug 19, 2021 · 1 comment
Closed

Failed to parse props in custom element #4392

akibrk opened this issue Aug 19, 2021 · 1 comment

Comments

@akibrk
Copy link

akibrk commented Aug 19, 2021

Version

3.2.4

Reproduction link

https://github.com/akibrk/custom-element-test

Steps to reproduce

Clone the repo provided

  1. npm run install

  2. npm run build:demo

  3. cd demo

  4. npx http-server

What is expected?

Value passed in as prop starting with number should not be treated as numbers unless that's the entire value.

What is actually happening?

Value passed in starting with a number is being parsed as number and rest of the value is being ignored


I was building a custom element library.

@posva
Copy link
Member

posva commented Aug 19, 2021

Duplicate of #4370

@posva posva marked this as a duplicate of #4370 Aug 19, 2021
@posva posva closed this as completed Aug 19, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants