AnsweredAssumed Answered

type-ahead solution ideas

Question asked by Caim Astraea on Apr 13, 2016
Latest reply on Apr 15, 2016 by Caim Astraea

Hello o/


Looking to discuss a best practice for a type ahead solution (at least this is what I understood from the client specs).  Something similar to this Recordit: Record screencasts fast & free! with GIF Support! where the autocomplete information is information about a contact that was previously entered.

Some options that I've considered ,

  • the browser autocomplete , didn't work too well in my case getting non relevant information
  • an autocomplete like the one in the screencast I linked where I pull data from a custom endpoint where I return distinct values

SELECT distinct myfield FROM xxxx.contacts

  • Save the info from  that field into a custom localstorage key like prod:SugarCRM:myfieldlist {'value1','value2'...} and populate the autocomplete typeahead from that

however not sure how to persist this information for each user between browser sessions .


Anyone have some experience with this , what would the best choice be. Not looking for something overengineered , the browser autocomplete if it'd work properly would be best IMO.