Skip to main content

Home > blockly > FieldDropdown > doValueUpdate_

FieldDropdown.doValueUpdate_() method

Update the value of this dropdown field.

Signature:

protected doValueUpdate_(newValue: string): void;

Parameters

ParameterTypeDescription
newValuestringThe value to be saved. The default validator guarantees that this is one of the valid dropdown options.

Returns:

void