The upload button for file upload is still shown when showUploadButton is set to false. Am I doing something wrong here ?. Below is my code :
<p-fileUpload fileLimit=5 showUploadButton=false showCancelButton=false multiple=true name="myfile[]" accept="image/*" (onSelect)="onFileSelect($event)" (onRemove)="onFileRemove($event)"
customUpload="true" maxFileSize="2000000" >
</p-fileUpload>
Upload button for PrimeNG fileUpload property is still shown
Try with brackets around showUploadButton property
Code: Select all
<p-fileUpload [showUploadButton]="false" name="myfile[]"></p-fileUpload>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests