You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, if you wanted to do this right now, the only way I could think of would be to include some logic in your precompiled template that detects whether or not the query (available as _query within the context of the precompiled template) is a phone number and if so, render the phone number. Depending on what you're using for templating, this may not be feasible.
Second, I'm not sure what could be done to make this easier to do with typeahead.js. If you have any ideas, I'm all ears.
scenario: customer search autocomplete...
can search by name, email, phone, and a few other fields
typically Id like the suggestion template to simply be "name / email"
but if there's a phone-# match, I'd like to display phone number as well
reasonable? possible?
The text was updated successfully, but these errors were encountered: