FormFileValue | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias FormFileValue

    FormFileValue:
        | { file: File; fileName: string; link: null }
        | { file: null; fileName: string; link: string }

    A file/image value in a form. link or file is set depending on whether the resource is currently available clientside or serverside (the latter happens when editing an existing form value)