We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
bind:value
Textfield
<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
<Textfield />
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I'm using the v7 beta and this code from OP of #274 throws an error:
Error thrown:
Among other probable methods, the error can be resolved by setting a
bind:value
for theTextfield
tag like:Expected behavior
Component renders when
<Textfield />
is added to the page, error specified is not thrownAdditional 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.
The text was updated successfully, but these errors were encountered: