onOptionTextChanged

Update the text of the option. If the text already exists in another option, it will set the duplicate error to true.

Parameters

id

The id of the option.

text

The text of the option.