Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autocomplete doesn't work with Blink #44

Open
vdayanand opened this issue Jun 19, 2018 · 9 comments
Open

autocomplete doesn't work with Blink #44

vdayanand opened this issue Jun 19, 2018 · 9 comments

Comments

@vdayanand
Copy link
Contributor

No description provided.

@vdayanand vdayanand changed the title autocomplete doesn't work in Blink autocomplete doesn't work with Blink Jun 19, 2018
@piever
Copy link
Collaborator

piever commented Jun 19, 2018

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.

@vdayanand
Copy link
Contributor Author

No, it doesnt work with Blink.jl master either

@vdayanand vdayanand reopened this Jun 19, 2018
@piever
Copy link
Collaborator

piever commented Jun 19, 2018

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?

@vdayanand
Copy link
Contributor Author

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.

@vdayanand
Copy link
Contributor Author

Upon inspect element in Blink, I do see all the values inside datalist tag

@piever
Copy link
Collaborator

piever commented Jun 19, 2018

Could you copy paste your inspect element here? Just to make sure I'm not doing something unorthodox that Blink doesn't accept.

@vdayanand
Copy link
Contributor Author

<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>

@piever
Copy link
Collaborator

piever commented Jun 23, 2018

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.

@jakkos-net
Copy link

Electron 4.0.4 doesn't support data-list on MacOSX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants