setError

fun setError(errorText: CharSequence?)

Sets the error text that appears beneath the picker button. Setting errorText to null or blank will hide the error.