it's working fine with me what is the issue u have ... I write the code1
and it filter the results with name 1 ... what is the problem man :)

On Mon, Nov 16, 2015 at 8:10 AM, Vaibhav Gupta <[email protected]>
wrote:

> Hi,
>
> Can you help me out in understanding the problem? I created a plunker to
> test your case:
>
> http://plnkr.co/edit/qzscva8fo6PZzpkTGrPW?p=preview
>
> It seems to work fine. When I clear the input, filter doesn't apply.
>
> Thanks,
>
> Vaibhav Gupta
>
>
> On Sunday, 15 November 2015 16:49:32 UTC+5:30, Mr. Adam wrote:
>>
>> hello every one
>>
>> i have a list and input to filter it :
>>
>> <input ng-model="searchCode" class="form-control" placeholder="Search By
>> Code" type="number"/>
>>
>> <tr ng-repeat="item in items | filter : {Code:searchCode}"></tr>
>>
>> the filter work fine when I write any number for the searchCode but when
>> I remove the filtered code the list is not appear...
>>
>> I think because the filtered become null or empty can anyone tells me how
>> to make the filter not accept null or empty from the input to fix this
>> error
>>
>> regards /Adam
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/ShN4k_TO3rg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to