Interface: FormHandle()
Imported from
@react-logic/utilsDefined in: utils/src/lib/forms.ts:213
Callable form-state signal. Read with (), mutate via setValue /
setError / reset. The useForm hook reads the underlying tree for
its bind/error proxies.
Type Parameters
S
S extends Schema
The schema.
FormHandle():
FormSnapshot<S>
Defined in: utils/src/lib/forms.ts:214
Callable form-state signal. Read with (), mutate via setValue /
setError / reset. The useForm hook reads the underlying tree for
its bind/error proxies.
Returns
FormSnapshot<S>
Properties
[REACTIVE_ACCESSOR_MARKER]
[REACTIVE_ACCESSOR_MARKER]:
true
Defined in: utils/src/lib/forms.ts:226
Methods
reset()
reset():
void
Defined in: utils/src/lib/forms.ts:217
Returns
void
setError()
setError(
path,error):void
Defined in: utils/src/lib/forms.ts:216
Parameters
Returns
void
setValue()
setValue(
path,value):void
Defined in: utils/src/lib/forms.ts:215
Parameters
Returns
void