blockly > FieldDropdown > doValueUpdate_

FieldDropdown.doValueUpdate_() method

Update the value of this dropdown 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 one of the valid dropdown options.

Returns:

void