Easier would be to:
<Select value={type || ""} // <-- Add the "" here instead onValueChange={onValueChange} > <SelectTrigger placeholder="Placeholder..."/> <SelectContent> {...rest}