Adds logic to a field to conditionally disable it. A disabled field does not contribute to the validation, touched/dirty, or other state of its parent field.
disabled
voidAdds logic to a field to conditionally disable it. A disabled field does not contribute to the validation, touched/dirty, or other state of its parent field.
@paramlogic
string | NoInfer<LogicFn<TValue, string | boolean, TPathKind>> | undefinedA reactive function that returns true (or a string reason) when the field is disabled,
and false when it is not disabled.
@returns
voidJump to details