From cbc9aab4c775a4cf070e7e403a7850485d8760da Mon Sep 17 00:00:00 2001 From: suryacp23 Date: Wed, 22 Jul 2026 11:38:14 +0530 Subject: [PATCH] product adding in orderdetails made some changes like required for bags --- src/components/reusable/Select.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/reusable/Select.tsx b/src/components/reusable/Select.tsx index 1f5e6ce..dd4e4de 100644 --- a/src/components/reusable/Select.tsx +++ b/src/components/reusable/Select.tsx @@ -10,6 +10,7 @@ export interface SelectOption { export interface SelectProps extends SelectHTMLAttributes { label?: string; hint?: string; + error?: string; /** Either strings or {value,label} objects. */ options?: Array; /** Class for the outer label wrapper. */ @@ -17,7 +18,7 @@ export interface SelectProps extends SelectHTMLAttributes { } /** Labeled native select styled to match Input. */ -export function Select({ label, hint, options = [], required, className, ...rest }: SelectProps) { +export function Select({ label, hint, error, options = [], required, className, ...rest }: SelectProps) { return (