From 4533ac044c31da04d00293e63aaef6095d9a7991 Mon Sep 17 00:00:00 2001 From: Chad <36685920+chadbrokaw@users.noreply.github.com> Date: Wed, 7 Aug 2024 08:24:21 -0600 Subject: [PATCH] fix: optional post input content prop for Field (#154) --- src/forms/Field.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/forms/Field.tsx b/src/forms/Field.tsx index e57fe6b..b2a1bbb 100644 --- a/src/forms/Field.tsx +++ b/src/forms/Field.tsx @@ -35,6 +35,7 @@ export interface FieldProps { hidden?: boolean labelClassName?: string bordered?: boolean + postInputContent?: JSX.Element } const Field = (props: FieldProps) => { @@ -179,6 +180,7 @@ const Field = (props: FieldProps) => { {...inputProps} hidden={props.hidden} /> + {props.postInputContent} {isRadioOrCheckbox && label} {props.subNote &&

{props.subNote}

}