Philipp Smorygo [JB]
09/23/2021, 11:08 AMUpload
it gives as exception (on 5.1.1)
main.bundle.js:2319 Uncaught TypeError: Cannot read properties of null (reading 'src')
at getLoadingUrl (fileinput.js?9888:49)
at Object.eval (fileinput.js?9888:58)
at eval (fileinput.js?9888:14)
at eval (fileinput.js?9888:20)
The object is initialized as following:
uploadControl = upload("/kv/upload") {
allowedFileTypes = setOf("image")
showPreview = false
}
Am I doing something wrong?