restApiSearchResultToArray
transform REST API response to a typehead compatible one
function(data)
transform REST API response to a typehead compatible one
Parameters
-
data
{*}
transform REST API response to a typehead compatible one
transform REST API response to a typehead compatible one
{*}
typehahead works with an array of objects but the response from the REST API will contain a data object with the results