Open johnecon opened 8 years ago
<a href="#" ng-disabled="SelectedItems.length<1" class="btn btn-lg btn-green"
ng-csv="getArray" filename="RawMaterials.csv" field-separator=";" decimal-separator=".">
<span class="glyphicon glyphicon-export"></span> Export to CSV
</a>
What I've done in the meantime is use ng-if or ng-show to hide the button if it shouldn't be clicked. Not ideal but it works at least.
Can you please share a reproduction recipe?