I'm trying to make a TextAreaInput to scroll-down automatically with every text update, when I tried to used CustomJS, I found this error on the browser generated script:
Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing
and this error on the browser console:
TypeError: Cannot read property 'connect' of undefined
and
[bokeh] Failed to repull session TypeError: Cannot read property 'connect' of undefined
Although, I reduced the javascript code to "nothing", the same error appears. Here's the code snippet
from bokeh.models.widgets import TextAreaInput
from bokeh.models import CustomJS
class projectdata:
def __init__(self, doc):
self.textarea = TextAreaInput(value="XER file contents will show here!", rows = 10, name="textarea", css_classes=["mytext"])
callback = CustomJS(args=dict(text=self.textarea),code="""""")
self.textarea.js_on_change('scroll', callback)
Python: 3.7.3, Bokeh: 1.3.4, Browser: Chrome
Thanks