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
Can you explain what is your issue? It seems to work as intended. If you click upload without selecting a file it will throw no valid data found for upload.
Yes as I mentioned that is expected behavior for upload - since you need to select some file from client to upload - without selecting a file if you press upload-- the plugin expects some valid data to upload and shows that message (this has nothing to do with the required function) -- to achieve your use case you may need a custom submit button where you can call the plugin's upload method only after user has selected a file (which you can trap via the input's change event).
Use "Required Validation 2 (Ajax)" sample
https://plugins.krajee.com/file-count-validation-demo#required-ajax-2
init had file or remove init file and select file , but always show error message "No valid data available for upload.".
The text was updated successfully, but these errors were encountered: