angularjs - Semantic ui search module -


i using semantic ui search module, content remote json file, can make work no matter typed whether found or not, show list json file.

script

$('.ui.search')   .search({     apisettings: {       url: 'http://localhost/api/materialmaster.json'     },     fields: {       results : 'data',       title : 'matcode'     },     mincharacters : 2   }) ; 

json file format is

{"data":[{"matcode":"0a66244s1"},{"matcode":"200gd0s100150cm"}]} 

see if can help. had same problem , solved using instructions.

https://stackoverflow.com/a/32937262/5381965


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -