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
Function uploadProductPhotos($files,product) is not passing correct product when we use ngf-select inside ng-repeat, it is always pass 'product' object of index 0
HTML:
<divng-repeat="product in products"><div><span>product id: {{product.id}} </span><labelstyle="font-weight: normal; width: 50%; " class="linkButton" for="inputimages">Add more images for same design</label><inputstyle="display: none;" id="inputimages" type="file" ngf-select="uploadProductPhotos($files,product)" multipleng-model="productimages" name="productimages" ngf-accept="'image/*'" >
| <aclass="linkButton" ng-click="remove(product)">Remove Design</a></div></div>
Hello
Function uploadProductPhotos($files,product) is not passing correct product when we use ngf-select inside ng-repeat, it is always pass 'product' object of index 0
HTML:
JS:
$scope.products = [{'id': 123, 'sku': 'test1' },{'id':124, 'sku': 'test2'}]
The text was updated successfully, but these errors were encountered: