FieldNamePickerConfigSettings interface

Signature

  1. export interface FieldNamePickerConfigSettings

Import

  1. import { FieldNamePickerConfigSettings } from '@grafana/data';

Properties

PropertyTypeDescription
filter(field: Field) => booleanFunction is a predicate, to test each element of the array. Return a value that coerces to true to keep the field, or to false otherwise.
infoComponentType<FieldNamePickerInfoProps> | nullWhen a field is selected, this component can show aditional information, including validation etc
noFieldsMessagestringShow this text when no values are found

filter property

Function is a predicate, to test each element of the array. Return a value that coerces to true to keep the field, or to false otherwise.

Signature

  1. filter?: (field: Field) => boolean;

info property

When a field is selected, this component can show aditional information, including validation etc

Signature

  1. info?: ComponentType<FieldNamePickerInfoProps> | null;

noFieldsMessage property

Show this text when no values are found

Signature

  1. noFieldsMessage?: string;