From 8f10dbe12d0fe70cf957156e51208f5774009f2b Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:54:01 +0100 Subject: [PATCH] [v11.3.x] Alerting: Fix editing expressions refId (#95035) Alerting: Fix editing expressions refId (#94941) Fix refId editing (cherry picked from commit 836881b7135ca9bcf1d6b5a7a766fbdbfdc2b8ec) Co-authored-by: Konrad Lalik --- .../alerting/unified/components/expressions/Expression.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/app/features/alerting/unified/components/expressions/Expression.tsx b/public/app/features/alerting/unified/components/expressions/Expression.tsx index 20a0a9561bb..5955fb1fb17 100644 --- a/public/app/features/alerting/unified/components/expressions/Expression.tsx +++ b/public/app/features/alerting/unified/components/expressions/Expression.tsx @@ -327,10 +327,6 @@ const Header: FC = ({ autoFocus defaultValue={refId} minWidth={5} - onChange={(event) => { - onUpdateRefId(event.currentTarget.value); - setEditMode(false); - }} onFocus={(event) => event.target.select()} onBlur={(event) => { onUpdateRefId(event.currentTarget.value);