Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/react-hook-form.ts>UseFieldArrayReplace

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
type alias UseFieldArrayReplace
import { type UseFieldArrayReplace } from "https://deno.land/x/netzo@0.4.78/deps/react-hook-form.ts";

Replace the entire field array values.

Examples

Example 1

<button
  type="button"
  onClick={() => replace([{ name: "data" }, { name: "data" }])}
>
  Replace
</button>

Type Parameters

TFieldValues extends FieldValues
optional
TFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>