From 5c3372586915c41b9cd92f92e5193d07631a1a46 Mon Sep 17 00:00:00 2001 From: Regi Date: Mon, 8 Jan 2024 21:08:20 +0100 Subject: [PATCH] Check da box --- Parts/Input.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Parts/Input.js b/Parts/Input.js index 3724889..86938b2 100644 --- a/Parts/Input.js +++ b/Parts/Input.js @@ -82,24 +82,23 @@ export function CheckBox({ label, title, className, - name, - id, children, ...props }) { + + const [field, meta, helpers] = useField(props); + return (
{title != null ? (