As below you can see when I select a typeahead option and click submit, it does not save it and indeed doesn't pass it at all when I raise it.
This may be linked to a problem I have occasionally of two typeaheads appearing, I am not sure. I am also allowing the params. It works when I remove the JS below.
$('.first_goal_box').typeahead([
{
name: 'Scorers',
prefetch: './dashboard.json'
}
]);
I switched it over to Typeahead for Bootstrap 3 .
$.get('./dashboard.json'. function(data){
$(".typeahead").typeahead({ source:data});
},'json');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.