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

Web component properties do not seem to accept objects or arrays #730

Closed
richard-to opened this issue Aug 3, 2024 · 1 comment · Fixed by #753
Closed

Web component properties do not seem to accept objects or arrays #730

richard-to opened this issue Aug 3, 2024 · 1 comment · Fixed by #753
Assignees
Labels
bug Something isn't working

Comments

@richard-to
Copy link
Collaborator

Example:

  static properties = {
    value1: {type: Object},
    value2: {type: Array},
  };

I'm not sure if I'm doing something wrong here, but when I try to pass in an Array or Object, I get undefined.

@richard-to richard-to added the bug Something isn't working label Aug 3, 2024
@wwwillchen wwwillchen self-assigned this Aug 6, 2024
@wwwillchen
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants