[v11.3.x] Alerting: Fix editing expressions refId (#95035)

Alerting: Fix editing expressions refId (#94941)

Fix refId editing

(cherry picked from commit 836881b713)

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
pull/96135/head
grafana-delivery-bot[bot] 8 months ago committed by GitHub
parent 546e0e214b
commit 8f10dbe12d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      public/app/features/alerting/unified/components/expressions/Expression.tsx

@ -327,10 +327,6 @@ const Header: FC<HeaderProps> = ({
autoFocus
defaultValue={refId}
minWidth={5}
onChange={(event) => {
onUpdateRefId(event.currentTarget.value);
setEditMode(false);
}}
onFocus={(event) => event.target.select()}
onBlur={(event) => {
onUpdateRefId(event.currentTarget.value);

Loading…
Cancel
Save