Open
Description
Describe the bug
I'm using the v7 beta and this code from OP of #274 throws an error:
<script>
import TextField from "@smui/textfield"
</script>
<TextField/>
Error thrown:
Textfield.svelte:431 Uncaught (in promise) Error: SMUI Textfield initialized without Input component.
at Textfield.svelte:431:30
Among other probable methods, the error can be resolved by setting a bind:value
for the Textfield
tag like:
<script>
import TextField from "@smui/textfield"
let quantity = ''
</script>
<TextField/>
<Textfield
bind:value={quantity}
label="Quantity"
/>
Expected behavior
Component renders when <Textfield />
is added to the page, error specified is not thrown
Additional context
I'm using the v7 beta 15 but I suspect this bug has existed for a while and may be a regression if #274 was fixed in v5.