Stay organized with collections Save and categorize content based on your preferences.

blockly > FieldTextInput > setEditorValue_

FieldTextInput.setEditorValue_() method

Set the HTML input value and the field's internal value. The difference between this and setValue is that this also updates the HTML input value whilst editing.

Signature:

protected setEditorValue_(newValue: any): void;

Parameters

Parameter Type Description
newValue any New value.

Returns:

void