diff --git a/components/Dropdown2.tsx b/components/Dropdown2.tsx index 0f31b9c..38a4c2e 100644 --- a/components/Dropdown2.tsx +++ b/components/Dropdown2.tsx @@ -162,10 +162,10 @@ export default function Dropdown2(props: DropdownProps) { }} onFocus={(event) => event.target.select()} className="h-9 w-full text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pr-8 pl-4 truncate placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50 disabled:cursor-not-allowed" - disabled={isDisabled} + disabled={isDisabled && !props.ignoreDisabledForSearch} placeholder="Type to search..." />