nate-strauser / meteor-x-editable-bootstrap

Smart package for x-editable in place editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught TypeError: Cannot read property 'Constructor' of undefined at natestrauser_x-editable-bootstrap.js?hash=7e0b900…:4736 at natestrauser_x-editable-bootstrap.js?hash=7e0b900…:4948 at natestrauser_x-editable-bootstrap.js?hash=7e0b900…:17237

neutron92 opened this issue · comments

i did the same example

<p id="textArea" class="editable" data-type="textarea" data-placeholder="Enter text" data-emptytext="Click to enter text" data-rows="4">{{textAreaContent}}</p>

and on onRendered

$('#textArea.editable').editable({
  success: function(response, newValue) {
    <do something with newValue - usually a collection.update call>
}});

i have this error

Uncaught TypeError: Cannot read property 'Constructor' of undefined
    at natestrauser_x-editable-bootstrap.js?hash=7e0b900…:4736
    at natestrauser_x-editable-bootstrap.js?hash=7e0b900…:4948
    at natestrauser_x-editable-bootstrap.js?hash=7e0b900…:17237
Uncaught Error: null not found. Have you included corresponding js file?
    at Popup.splitOptions (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:1022)
    at Popup.init (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:952)
    at Popup (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:933)
    at HTMLSpanElement.<anonymous> (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:1351)
    at Function.each (printer.js:170)
    at jQuery.fn.init.each (printer.js:170)
    at jQuery.fn.init.$.fn.editableContainer (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:1343)
    at Editable.show (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:1822)
    at Editable.toggle (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:1853)
    at Editable.<anonymous> (natestrauser_x-editable-bootstrap.js?hash=7e0b900…:1576)

I am facing the same issue. Did you find any solution?

Same issue. Did you find any solution?

please include bootstrap.js and try that again