blockly > FieldTextInputValidator

FieldTextInputValidator type

A function that is called to validate changes to the field's value before they are set.

Signature:

export type FieldTextInputValidator = FieldInputValidator<string>;