Skip to main content

Home > blockly > FieldTextInput

FieldTextInput class

Class for an editable text field.

Signature:

export declare class FieldTextInput extends FieldInput<string> 

Extends: FieldInput<string>

Constructors

ConstructorModifiersDescription
(constructor)(value, validator, config)Constructs a new instance of the FieldTextInput class

Methods

MethodModifiersDescription
doClassValidation_(newValue)protectedEnsure that the input value casts to a valid string.
initView()