<button type="button" class="btn-submit upload smooth-hover" data-prod-idx="{{index}}" data-prod-id="{{prod.ProductId}}"
ng-click="vm.onUpload($event, index, prod.ProductId)"
ngf-select="vm.uploadAttachments($event, $files, $invalidFiles)" multiple accept="image/*,.pdf,*.doc,*.docx" ngf-capture="'camera'"
ngf-max-size="5MB"
ng-disabled="prod.Product_Status === 'Approved||Not Approved'">
Upload Documents</button>
- I have different product status condition depending on that I want to disable the button. I am having a problem with or condition in
ng-disable. Its not disabling the button if i give to conditions.
2.IF clicked on disabled button it should pop-up the alert message (Not using Jquery) Every condition have different error msg (Conditions in ng-disabled)
Thanks for Help!