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
I am using this widget in Yii2. When I use MaxFileCount=>3, I am able to upload 3 images and if there are more, then it is showing a proper error. However in my actionUpdate, when I display existing images in the current record, I can still browse and add 3 more images.
How do I go about solving this issue? Thanks Kartik.
The text was updated successfully, but these errors were encountered:
You would need to handle this in your server validation and render the Html and js for the plugin accordingly for example if you have 3 images on server you should disable the file input and hide the upload button (showUpload = false).
Hi,
I am using this widget in Yii2. When I use MaxFileCount=>3, I am able to upload 3 images and if there are more, then it is showing a proper error. However in my actionUpdate, when I display existing images in the current record, I can still browse and add 3 more images.
How do I go about solving this issue? Thanks Kartik.
The text was updated successfully, but these errors were encountered: