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

blockly > FieldDropdown > doClassValidation_

FieldDropdown.doClassValidation_() method

Ensure that the input value is a valid language-neutral option.

Signature:

protected doClassValidation_(opt_newValue?: any): string | null;

Parameters

Parameter Type Description
opt_newValue any (Optional) The input value.

Returns:

string | null

A valid language-neutral option, or null if invalid.