AnyUploadField
- Component - simple
- Component - advanced
- API schema
Loading...
Loading...
This advanced upload field is a bit more complex than the Simple component. It has a label, a description, a file name, a file size, a file type, a width and a height. It also has a custom accept mime types.
export class File {
url = def.stringColumn()
description = def.stringColumn()
name = def.stringColumn()
size = def.stringColumn()
type = def.stringColumn()
width = def.intColumn()
height = def.intColumn()
}