Optionalaccept?: string | string[]OptionalautoFocus?: booleanIndicates if the input should be auto-focused.
OptionalautoOpenImageEditor?: booleanIndicates if the image editor should automatically open when an image file is input.
Optionaldisabled?: booleanIndicates if the input is disabled.
OptionaldraggingClassName?: stringA CSS class name to apply when the user drags a file over the input.
Optionalid?: stringThe ID of the input.
OptionalimageEditorOptions?: ImageEditorOptionsThe options to pass to the image editor (if image editor is enabled).
OptionalimagePreviewSizing?: FileInputPreviewProps["imageSizing"]Image sizing in the preview if an image file is input.
Optionalinvalid?: booleanIndicates if the input is invalid.
OptionalisLoading?: booleanIndicates if the value is loading before being given to the input.
OptionalisUploading?: booleanIndicates if the file is uploading.
OptionalmenuClassName?: stringA CSS class name to apply to the menu shown below the input.
OptionalmenuImageEditorButtonContainerClassName?: stringA CSS class name to apply to the container for the image editor button in the menu.
OptionalmenuStatusClassName?: stringA CSS class name to apply to the status (loading, "No File", or file name) in the menu.
Optionalname?: stringThe name of the input.
OptionalnoImageEditor?: booleanIndicates the the image editor should be disabled for image uploads.
OptionalonBlur?: () => voidA callback function to call when focus is removed from the input.
OptionalonFocus?: () => voidA callback function to call when the input becomes focused.
A callback function to update the input value when a change happens.
OptionalsideEffect?: (v: FileFieldValue) => voidA side effect function to call when the value changes as a result of user interaction with this input, and not external updates to the field value.
The value of the input.
Defines the file types that the input should accept.