Skip to content

Commit 8b0b032

Browse files
authored
Document iconClass config (fileupload) (#247)
Documents wintercms/winter#1402
1 parent 21ba626 commit 8b0b032

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/forms.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,8 @@ Option | Description
983983
`mimeTypes` | MIME types that are accepted by the uploader, either as file extension or fully qualified name, optional. Eg: `bin,txt`
984984
`maxFilesize` | file size in Mb that are accepted by the uploader, optional. Default: from "upload_max_filesize" param value
985985
`useCaption` | allows a title and description to be set for the file. Default: `true`
986-
`prompt` | text to display for the upload button, applies to files only, optional.
986+
`iconClass` | icon class to use for the upload button, applies to file mode only. Default: `icon-upload`
987+
`prompt` | text to display for the upload button, applies to file mode only, optional.
987988
`thumbOptions` | options to pass to the thumbnail generating method for the file. See [Image Resizing](../services/image-resizing#available-parameters)
988989
`attachOnUpload` | Automatically attaches the uploaded file on upload if the parent record exists instead of using deferred binding to attach on save of the parent record. Defaults to `false`.
989990

0 commit comments

Comments
 (0)