⚠️ @prestojs/ui-antd is a legacy package

It is maintained for existing projects but should not be used for new projects. New projects should use @alliancesoftware/ui instead — see the @alliancesoftware/ui component library.

FileWidget

Source
import { FileWidget } from "@prestojs/ui-antd";
FileWidget(props)
Source

Component Props:

PropTypeDescription
*
props
An object with the properties below
props.asyncChoicesAsyncChoicesInterface
*props.childrenReact.ReactNode
props.choices|[SingleValue, string][]
*props.inputUploadWidgetInputType
*props.limitnumber|null
props.metaRecord
*props.multipleboolean
props.refReact.RefObject
...any
Any properties from UploadProps except for these:
  • data
  • method
  • headers
  • onChange
  • withCredentials