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.
Comments
Post a Comment