Skip to content

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

NameTypeRequiredDescription
valueanyyesThe value to evaluate.

Returns

boolean

true if the field is considered unset, otherwise false.

Source

client/lib/use/useField.js:222

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2