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.
noFieldsMessagestringShow this text when no values are found
placeholderTextstringPlaceholder text to display when nothing is selected.
widthnumberaddFieldNamePicker Sets the width to a pixel value.

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;

noFieldsMessage property

Show this text when no values are found

Signature

  1. noFieldsMessage?: string;

placeholderText property

Placeholder text to display when nothing is selected.

Signature

  1. placeholderText?: string;

width property

addFieldNamePicker Sets the width to a pixel value.

Signature

  1. width?: number;