From afce2ebac667abcd902a43280e10f9344b0d6efb Mon Sep 17 00:00:00 2001 From: Jorge Vargas Date: Wed, 16 Apr 2025 22:33:46 -0600 Subject: [PATCH] Fix html select defaultValue --- src/components/form/Input.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/form/Input.tsx b/src/components/form/Input.tsx index 9ee79a7..3a52d7d 100644 --- a/src/components/form/Input.tsx +++ b/src/components/form/Input.tsx @@ -54,14 +54,21 @@ export function InputArea(props: CustomInputProps & Omit) { - const { name, className, dark = false, label, ...attrs } = props + const { name, className, dark = false, label, children, ...attrs } = props return (
{label} - + {children} +
) }