isUnsetValue
Overview
Determines whether a field's value is unset (i.e., it has not been explicitly set).
Unlike defaultIsRequiredViolation, this function is used for form state tracking to determine whether a field has been given a meaningful value by the user.
Signature
isUnsetValue(value)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| value | any | yes | The value to evaluate. |
Returns
boolean
true if the field is considered unset, otherwise false.
Source
client/lib/use/useField.js:222