Open
Description
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
Metadata
Assignees
Labels
No labels
Activity