From 745764998641df9b0fb2d8aa5cfada3cdabee745 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Mon, 11 Jul 2022 18:02:28 -0400 Subject: [PATCH] fix(striker-ui): passthrough value prop in OutlinedInputWithLabel --- striker-ui/components/OutlinedInputWithLabel.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/striker-ui/components/OutlinedInputWithLabel.tsx b/striker-ui/components/OutlinedInputWithLabel.tsx index 8ae670d8..2e14f751 100644 --- a/striker-ui/components/OutlinedInputWithLabel.tsx +++ b/striker-ui/components/OutlinedInputWithLabel.tsx @@ -16,6 +16,7 @@ type OutlinedInputWithLabelOptionalProps = { inputProps?: Partial; inputLabelProps?: Partial; messageBoxProps?: Partial; + value?: OutlinedInputProps['value']; }; type OutlinedInputWithLabelProps = { @@ -29,6 +30,7 @@ const OUTLINED_INPUT_WITH_LABEL_DEFAULT_PROPS: Required ( @@ -48,6 +51,7 @@ const OutlinedInputWithLabel = ({ fullWidth: formControlProps.fullWidth, id, label, + value, ...inputProps, }} />