You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and setting selectFileBtnTemplate: 'mySelectFileBtn' in the schema, the button renders correctly. However a file dialog does not appear when clicked.
When I inspected the original "Choose file" HTML code, there is an input tag of type "file" in the button. So I tried to do the same in the custom template:
There's one more bit of code that's missing from the custom upload button example and it is activating the jQuery file upload plugin. In addition to what @isbjorn suggest, I had to add that bit:
When using a custom template for the "Choose file" button by creating a template as in the ReadMe example:
and setting
selectFileBtnTemplate: 'mySelectFileBtn'
in the schema, the button renders correctly. However a file dialog does not appear when clicked.When I inspected the original "Choose file" HTML code, there is an input tag of type "file" in the button. So I tried to do the same in the custom template:
This opens the file dialog when clicked, however after choosing a file there is no result, nor is there any error message.
I should add that element input should not be nested inside element button, as that is invalid HTML.
Please fix the problem(s).
The text was updated successfully, but these errors were encountered: