-
Notifications
You must be signed in to change notification settings - Fork 892
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
Error using mwc-checkbox #33
Comments
Hello, with my test, same with pwa-starter-kit. but works properly with the polymer-3-starter-kit |
I get the same error. |
Same here for mwc-checkbox and mwc-radio. If you swap out the
As the online examples both work fine I initially assumed there was some issue with my WebPack setup but I now feel the presence of [object Object] proves the style is being imported but not handled correctly. The imported block of style works correctly in those components that directly extend LitElement where both Checkbox and Radio extend FormableComponentElement. I'd love to provide more info but debugging within a Webpack project seems super tough so please let me know what additional information I can provide in order to help (and likely how I'd go about getting that information). |
As far as I can see this issue is mainly caused by As for It makes complete sense that As for Update: I guess it's not about versions, but more likely about multiple copies of the |
@galanovnick with the recent As a user, I guess I will need to be more cognizant of not having mismatching versions of |
This should be working, but I'll verify before closing. |
Verified that this should be working with at least v0.6.0. Please ping the issue if something is still broken! |
I am experimenting using material-components-web-components in the pwa-starter-kit.
I installed the
mwc-checkbox
element as follows:Then imported in my js module:
But get the following:
The text was updated successfully, but these errors were encountered: