Closed qaswm closed 12 years ago
option added, please confirm
I was using v2.6 and it was working fine with searching, replacing the file without making any other changes results in the function not working at all and the error I get in Chrome is as follows:
Uncaught TypeError: Cannot call method 'replace' of undefined
this error is reported on line 434 on fcbkComplete.
can you send me your data (json) file?
I used the following two formats and neither of them worked.
[{"label":"Restaurants","id":"1","value":"Restaurants"},{"label":"Italian Restaurants","id":"2","value":"Italian Restaurants"},{"label":"Fast Food","id":"3","value":"Fast Food"},{"label":"Carry Out & Take Out","id":"4","value":"Carry Out & Take Out"},{"label":"Chinese Restaurants","id":"5","value":"Chinese Restaurants"}]
or
[{"category":{"name":"Academy Awards","created_at":"2011-07-10T15:02:12Z","updated_at":"2011-07-10T15:02:12Z","id":1,"description":"Academy Awards","active":true}},{"category":{"name":"Baby Shower","created_at":"2011-07-10T15:02:12Z","updated_at":"2011-07-10T15:02:12Z","id":2,"description":"Baby Shower","active":true}},{"category":{"name":"Bachelor Party","created_at":"2011-07-10T15:02:12Z","updated_at":"2011-07-10T15:02:12Z","id":3,"description":"Bachelor Party","active":true}},{"category":{"name":"Bachelorette Party","created_at":"2011-07-10T15:02:12Z","updated_at":"2011-07-10T15:02:12Z","id":4,"description":"Bachelorette Party","active":true}}]
any update on this? Am I doing something wrong?
Hi @qaswm, sorry for a late replay. You problem that json is not in right format... the format for this plugin should be [{"key": "key1", "value": "value1"}, {"key": "key2", "value": "value2"}]
hello emposha, I'm havin the same trouble, cannot call method replace of undefined.
Below is my json out
[{"id_users":"11","nom":"Omega","prenom":"Lisa"}]
There should be a choice to search either complete string where
searching for 'ho' should give
Choice Hot Rhode Island
or search just the beginning where the same search would return
Hot
as the only result.