esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

Error on PlaceHolde on Filter #1038

Open fellipeh opened 6 years ago

fellipeh commented 6 years ago

Why I get these on my filter?

screenshot from 2018-07-06 12-40-56

Here is my HTML:

        <table ng-table="listTable" show-filter="true" class="table table-striped table-bordered table-hover"
               id="tblList1">

            <tr ng-repeat="i in data">
                <td data-title="'Razão Social'" sortable="'razao_social'" filter="{razao_social: 'text'}">
                    <a ng-click="editaReg(i.id)">
                        {$ i.razao_social $}
                    </a>
                </td>
                <td data-title="'E-Mail'" sortable="'email'" filter="{ 'email': 'text' }">
                    {$ i.email $}
                </td>
                <td class="col-md-1 table-view-pf-actions">
                    <a class="btn btn-default" ng-click="editaReg(i.id)" title="Editar">Editar</a>
                </td>
                <td class="col-md-1 table-view-pf-actions">
                    <a class="btn btn-danger" ng-click="deleteReg(i.id)" title="Excluir">Excluir</a>
                </td>
            </tr>
        </table>