-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Description
Attempting to use bind:open with <dialog> results in an error:
<!-- Dialog.svelte -->
<script>
export let open = false
</script>
<dialog bind:open />
<!--
Error: Module build failed (from ./node_modules/svelte-loader/index.js):
Error: ValidationError: 'open' binding can only be used with <details> (17:46)
-->To Reproduce
View REPL
Expected behavior
I expected bind to work with <dialog> as well as <details>.
Information about your Svelte project:
Svelte v3.21.0
Severity
Annoying.
ZerdoX-x, vinkla, KTibow, connor-baer, letrastudio and 23 moredunhamjared