fix: bind textarea value
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
let { value = $bindable(), name, ...rest }: Props = $props();
|
let { value = $bindable(), name, ...rest }: Props = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<textarea id={name} {name} {...rest}></textarea>
|
<textarea id={name} {name} bind:value {...rest}></textarea>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
textarea {
|
textarea {
|
||||||
|
|||||||
Reference in New Issue
Block a user