diff --git a/app/react/components/form-components/PortainerSelect.tsx b/app/react/components/form-components/PortainerSelect.tsx index 19088a377..108b54e8e 100644 --- a/app/react/components/form-components/PortainerSelect.tsx +++ b/app/react/components/form-components/PortainerSelect.tsx @@ -94,7 +94,9 @@ export function SingleSelect({ ...aria }: SingleProps) { const selectedValue = - value || (typeof value === 'number' && value === 0) + value || + (typeof value === 'number' && value === 0) || + (typeof value === 'string' && value === '') ? _.first(findSelectedOptions(options, value)) : null;