This commit is contained in:
Timothy Jaeryang Baek
2025-08-06 13:48:43 +04:00
parent 2e36540023
commit 3a1bbcb12e
3 changed files with 20 additions and 15 deletions
@@ -7,6 +7,7 @@
export let minSize = null;
export let maxSize = null;
export let required = false;
export let readonly = false;
export let className =
'w-full rounded-lg px-3.5 py-2 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-hidden h-full';
@@ -54,6 +55,7 @@
style="field-sizing: content;"
{rows}
{required}
{readonly}
on:input={(e) => {
resize();
}}