diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx index b65b90e8062bd..da7c2d2af9aba 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx @@ -230,7 +230,6 @@ export const AgentUpgradeAgentModal: React.FunctionComponent { const newValue = e.target.value; - setSelectedVersionStr(newValue); + setSelectedVersion([{ label: newValue, value: newValue }]); }} isInvalid={!!semverErrors}