property FileFieldProps.onValueChange

Called after the form's value is set, for a side effect such as deriving the title from the file's name.

Type

(file: File | null) => void

Usage

import { type FileFieldProps } from "src/components/form/FileField.tsx";