Issue
Try to hide some form elements like MDBInput or MDBBtn with Svelte if/else condition and this error appears in the developer console :
Uncaught (in promise) in mdbsvelte.es.js
Reproduce
In App.svelte :
<script>
import { MDBBtn }from "mdbsvelte"
let action = "show";
</script>
{#if action === "show"}
<MDBBtn on:click="{() => action = 'hide'}">Hide this button</MDBBtn>
{/if}
Then npm run dev and check the developer console when clicking the button
Tested in firefox 86 and Google Chrome 88
Issue
Try to hide some form elements like
MDBInputorMDBBtnwith Svelte if/else condition and this error appears in the developer console :Uncaught (in promise) in mdbsvelte.es.jsReproduce
In App.svelte :
Then
npm run devand check the developer console when clicking the buttonTested in firefox 86 and Google Chrome 88