Adding CustomWebView to project doesn't mean WebViewer will be enabled to upload files.
CustomWebView is different and it should be initialized in a vertical arrangement. This arrangement should be properly visible and have full height and width.
After choosing image, your website shows a JS alert which you need to handle yourself. There are multiple ways to do that.
Normal way: