We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82c010 commit 179a7f3Copy full SHA for 179a7f3
src/routes/docs/forms/search-input.md
@@ -70,11 +70,11 @@ Use the simplest form of a search input component with an icon and a search butt
70
```svelte example
71
<script lang="ts">
72
import { Search, Button } from "flowbite-svelte";
73
- let searchRef = $state();
+ let searchRef: HTMLInputElement | undefined= $state();
74
let elementTxt = $state("This text has NOT been updated.");
75
</script>
76
77
-<form id="example-form" onsubmit={submitted}>
+<form id="example-form">
78
<Search bind:value={elementTxt} bind:elementRef={searchRef} class="my-4" />
79
<Button
80
onclick={() => {
0 commit comments