MCPcopy Create free account
hub / github.com/docusealco/docuseal / onSelectFiles

Method onSelectFiles

app/javascript/elements/file_dropzone.js:52–58  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

50 }
51
52 async onSelectFiles (e) {
53 e.preventDefault()
54
55 await convertImagesInInput(this.input)
56
57 this.uploadFiles(this.input.files)
58 }
59
60 toggleLoading = (e) => {
61 if (e && e.target && (!e.target.contains(this) || !e.detail?.formSubmission?.formElement?.contains(this))) {

Callers

nothing calls this directly

Calls 2

convertImagesInInputFunction · 0.90
uploadFilesMethod · 0.45

Tested by

no test coverage detected