error

abstract fun error(id: String): State<FieldError?>

Observe the error mode of a specific key as a compose state to be informed by any mode change. This function is used internally by JsonForm components to be updated automatically when you mark a field in error or when you call validate function and some requirements or patterns aren't respected.

Return

state mode of a field associated to the given key

Parameters

id

The property key