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

blockly > FieldDropdown > doValueUpdate_

FieldDropdown.doValueUpdate_() method

Update the value of this dropdown field.

Signature:

protected doValueUpdate_(newValue: MenuOption[1]): void;

Parameters

Parameter Type Description
newValue MenuOption[1] The value to be saved. The default validator guarantees that this is one of the valid dropdown options.

Returns:

void