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
in your doc you says the ajax call must return JSON data in the following format
{
query:'Li',
suggestions:['Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania'],
data:['LR', 'LY', 'LI', 'LT']
}
i don't know if you change something but it doesn't work me. The following format work for me :
{"query":"Li",
"suggestions":[{"value":"Liberia","data":"LR"},{"value":"'Libyan Arab Jamahiriya","data":"LY"}]
}
NB I use the 1.2.5 version
Does i miss something ? or is this a little bug in the doc ?
Sincerly
Thanks for you great job.
Kspal
The text was updated successfully, but these errors were encountered:
hi, i know my json is valid.
My point is about the structure of the json which is different from what you wrote on your website.
Just look the difference in "suggestions" entry between the two example...
Hi,
in your doc you says the ajax call must return JSON data in the following format
{
query:'Li',
suggestions:['Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania'],
data:['LR', 'LY', 'LI', 'LT']
}
i don't know if you change something but it doesn't work me. The following format work for me :
{"query":"Li",
"suggestions":[{"value":"Liberia","data":"LR"},{"value":"'Libyan Arab Jamahiriya","data":"LY"}]
}
NB I use the 1.2.5 version
Does i miss something ? or is this a little bug in the doc ?
Sincerly
Thanks for you great job.
Kspal
The text was updated successfully, but these errors were encountered: