PromptBoxUploadButtonProps
Interface
Represents the props of the PromptBoxUploadButton component.
Definition
Package:@progress/kendo-vue-conversational-ui
Properties
accept?
string
Sets the file types that the user can select.
multiple?
boolean
Lets the user select more than one file at a time.
Default:
true
onRemoveAttachment?
(fileName: string) => void
Fires when the user clicks the remove button of an attachment.
Parameters:fileNamestring
onSelectAttachments?
(event: PromptBoxSelectAttachmentsEvent) => void
Fires when the user selects files with the Upload button.
Parameters:eventPromptBoxSelectAttachmentsEvent
restrictions?
UploadFileRestrictions
Sets the restrictions for the files that the user can select.