-
Notifications
You must be signed in to change notification settings - Fork 7
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
Hiding MDB form elements with if/else blocks throws an error #16
Comments
I'm seeing the same error when trying to build an accordion element. The element expands correctly, but trying to shrink it again, I see the following error:
Were you able to find a workaround? |
I am seeing this issue as well... |
Ended up using a different UI library, this one does not seem to be maintained anymore. |
I'm running into the same issue with an {#each} block inside and MDBContainer. It looks related to the props that are getting forwarded to Svelte and related functions being run before Svelte can find the component. Looks like I wasted a day trying to use a dead project. Oh well. |
Issue
Try to hide some form elements like
MDBInput
orMDBBtn
with Svelte if/else condition and this error appears in the developer console :Uncaught (in promise) in mdbsvelte.es.js
Reproduce
In App.svelte :
Then
npm run dev
and check the developer console when clicking the buttonTested in firefox 86 and Google Chrome 88
The text was updated successfully, but these errors were encountered: