hasErrorMessage

fun hasErrorMessage(ignoreUneditedFieldErrors: Boolean = true): Boolean

Check if there is an error message to be displayed.

Return

true if there is an error message that can be displayed to the user


To provide custom error message behavior, set displayErrors to false and use fieldStates to implement custom error logic

Parameters

ignoreUneditedFieldErrors

If true (default value), only fields that have been edited by the user will be considered. "Edited" means the user has entered text and focus has changed to another field (note: empty fields are considered edited if text was entered and then later deleted)