At.js icon indicating copy to clipboard operation
At.js copied to clipboard

Unable to see the api data from the remotefilter

Open lmssrinivas opened this issue 9 years ago • 3 comments

I am using at.js with remoteFilter to get the data from the api and when I look at the data- the at.js is filtering the data with atwho_order:-1 . I want to turnoff the default filtering of at.js

lmssrinivas avatar Nov 09 '16 21:11 lmssrinivas

Your issue seems to be similar to this one : https://github.com/ichord/At.js/issues/444

xillibit avatar Nov 10 '16 10:11 xillibit

Thanks for responding, I had looked into the #444 but for me only partial data being visible. If my API is responding with 100 results and I want display all them in the dropdown, but only 2 results are visible and when I debug the issue - I found that the 2 results have atwho_order:>0 and rest of the data has atwho_order:-1.

lmssrinivas avatar Nov 10 '16 22:11 lmssrinivas

One more question: After I select the item from the dropdown- is there any way I can access the selected object instead of element.

ex: Dropdown element is `

  • John, doe
  • srini,lms
`

and the array is

[ {name:'srini',id:'1222',display:'lms'}, {name:'john',id:'333',display:'doe'} ]

and I am trying to get the {name:'srini',id:'1222',display:'lms'} object when the <li>srini,lms</li> element is selected

lmssrinivas avatar Nov 11 '16 22:11 lmssrinivas