InteractBase.jl
InteractBase.jl copied to clipboard
autocomplete doesn't work with Blink
I think it may be due on older version of Electron not supported the datalist tag, should be fixed on Blink master. Could you try Pkg.checkout("Blink") and report here whether that fixes the issue you're experiencing?
I can ask over at Blink if it's possible to have a release.
No, it doesnt work with Blink.jl master either
Interesting. Are you calling Blink from the REPL or from Atom? Somehow, the two things call different Electron installation.
What problem are you experiencing exactly? Do options not display or is the observe(widget) incorrect?
I am using Blink from REPL. None of values passed to autocomplete is getting displayed in the UI. it works when I don't use Blink i.e from notebook.
Upon inspect element in Blink, I do see all the values inside datalist tag
Could you copy paste your inspect element here? Just to make sure I'm not doing something unorthodox that Blink doesn't accept.
<div><input list="##672" id="envname" type="text" placeholder="" class="interactbulma input "><datalist id="##672"><option value="Test"></option><option value="Production"></option><option value="Development"></option><option value="Staging"></option></datalist></div>
That HTML works on Blink on my machine. If I do:
using Blink
w = Window()
html = """
<div><input list="##672" id="envname" type="text" placeholder="" class="interactbulma input "><datalist id="##672"><option value="Test"></option><option value="Production"></option><option value="Development"></option><option value="Staging"></option></datalist></div>
"""
body!(w,html)
I get the options to show up correctly. If that doesn't work on your machine it's probably a Blink issue, so maybe it could be reported there.
Electron 4.0.4 doesn't support data-list on MacOSX