* Reset to the original value. * * @param node - A FormKitNode | FormKitNode * @param _context - A FormKitContext | FormKitContext * @param value - The value to reset to * * @internal
( node: FormKitNode, _context: FormKitContext, value?: unknown )
| 3069 | * @internal |
| 3070 | */ |
| 3071 | function resetValue( |
| 3072 | node: FormKitNode, |
| 3073 | _context: FormKitContext, |
| 3074 | value?: unknown |
| 3075 | ) { |
| 3076 | return reset(node, value) |
| 3077 | } |
| 3078 | |
| 3079 | /** |
| 3080 | * Sets errors on the node and optionally its children. |