clearText

Deletes all the text in the state.

To perform more complicated edits on the text, call OudsPasswordInputState.edit. This function is equivalent to calling:

edit {
delete(0, length)
placeCursorAtEnd()
}

See also