blockly > FieldMultilineInput > doValueUpdate_

FieldMultilineInput.doValueUpdate_() method

Called by setValue if the text input is valid. Updates the value of the field, and updates the text of the field if it is not currently being edited (i.e. handled by the htmlInput_). Is being redefined here to update overflow state of the field.

Signature:

protected doValueUpdate_(newValue: string): void;

Parameters

Parameter Type Description
newValue string The value to be saved. The default validator guarantees that this is a string.

Returns:

void