Date Search Filter Is Not Working In Angular Js
I am new to angular js. I am trying to implement date custom filter using date picker . I have tried it , but I am not getting any idea to work out. Below is my code.
Solution 1:
You get this issue because in your input field from_date
set modal value as a date string. You need to format your date in same format you used in table column
var from_date = $filter('date')($scope.from_date, 'MMM-dd-yyyy');
$scope.invoice.filter({ created: from_date });
Post a Comment for "Date Search Filter Is Not Working In Angular Js"