fix dropdown value issue

This commit is contained in:
x032205
2025-08-01 18:29:26 -04:00
parent fe7e8e7240
commit ba393b0498

View File

@@ -256,7 +256,7 @@ export const GitHubConnectionForm = ({ appConnection }: Props) => {
<div>
<Select
isDisabled={!isAllowed}
value={value as string}
value={value || (null as unknown as string)}
onValueChange={onChange}
className="w-full border border-mineshaft-500"
dropdownContainerClassName="max-w-none"
@@ -266,7 +266,7 @@ export const GitHubConnectionForm = ({ appConnection }: Props) => {
>
<SelectItem
value={null as unknown as string}
onClick={() => onChange(undefined)}
onClick={() => onChange(null)}
>
Internet Gateway
</SelectItem>