blockly > FieldTextInput

FieldTextInput class

Class for an editable text field.

Signature:

export declare class FieldTextInput extends FieldInput<string> 

Extends: FieldInput<string>

Constructors

Constructor Modifiers Description
(constructor)(value, validator, config) Constructs a new instance of the FieldTextInput class

Methods

Method Modifiers Description
doClassValidation_(newValue) protected Ensure that the input value casts to a valid string.