Overview
We want to be able to search our central symptoms table for users to add to their symptoms catalog.
Reference: Flaredown/FlaredownAPI#47
This was done on eVisit, use as reference
https://github.com/larsenb/eVisit/blob/master/app/views/select2.coffee
Not sure what this does, might be related: https://github.com/larsenb/eVisit/blob/master/app/views/selecttrap.coffee
Use the select2.query to do this and setup sensible default options. Also setup error handling (Groovy Response Handler).
Overview
We want to be able to search our central symptoms table for users to add to their symptoms catalog.
Reference: Flaredown/FlaredownAPI#47
http://ivaynberg.github.io/select2/
This was done on eVisit, use as reference
https://github.com/larsenb/eVisit/blob/master/app/views/select2.coffee
Not sure what this does, might be related: https://github.com/larsenb/eVisit/blob/master/app/views/selecttrap.coffee
SymptomsController#searchUse the select2.query to do this and setup sensible default options. Also setup error handling (Groovy Response Handler).
SymptomsController#createcurrent_user