typeaheadjs error
foxzool opened this issue · comments
I have include the js for typeahead
//= require editable/bootstrap-editable
//= require editable/rails
//= require editable/inputs-ext/typeahead-editable
//= require editable/inputs-ext/typeahead
when i click the xeditable
= editable @profile, :hospital, type: 'typeaheadjs'
got a error
Uncaught TypeError: Cannot read property 'name' of null typeahead.js?body=1:1086
Hi,
I think this is the required order, since typeahead-editable is based on bootstrap's typehead
//= require jquery
//= require bootstrap-sprockets
//= require editable/bootstrap-editable
//= require editable/inputs-ext/typeahead
//= require editable/inputs-ext/typeahead-editable
//= require editable/rails