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: any): void;

Parameters

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

Returns:

void