From 9c7688e2e7a19d61715c3ff2b7efafddd786e702 Mon Sep 17 00:00:00 2001 From: Sayo <82053242+wtfsayo@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:48:14 +0530 Subject: [PATCH] Update Select.tsx --- packages/ui/src/forms/Select.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/forms/Select.tsx b/packages/ui/src/forms/Select.tsx index 6018a595..9d43df45 100644 --- a/packages/ui/src/forms/Select.tsx +++ b/packages/ui/src/forms/Select.tsx @@ -24,7 +24,7 @@ interface SelectProps extends ChakraProps { tooltip?: string; required?: Required; isDisabled?: boolean; - _placeholder?: string; + placeholder?: string; } export function Select({ @@ -36,7 +36,7 @@ export function Select({ required, isDisabled = false, children, - _placeholder, + placeholder, ...props }: React.PropsWithChildren) { const { control } = localForm; @@ -77,7 +77,7 @@ export function Select({ color="black" border="1px" borderColor="lightgrey" - placeholder={_placeholder} + placeholder={placeholder} _hover={{ borderColor: 'lightgrey' }} isDisabled={isDisabled} {...props}