regexValidation variable
regexValidation variable
Signature
regexValidation: (pattern: string | RegExp, errorMessage?: string | undefined) => ValidationRule
Import
import { regexValidation } from '@grafana/ui';
Signature
regexValidation: (pattern: string | RegExp, errorMessage?: string | undefined) => ValidationRule
Import
import { regexValidation } from '@grafana/ui';
New free and paid plans for Grafana Cloud
Beautiful dashboards, logs (Loki), metrics (Prometheus & Graphite) & more