You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! It would be great if someone would be able to help out. I have this code, just to test out filepicker to see if the file name/path gets reflected in the output. This code should give the file name/path into a new Blink window, which I'm not getting:
using Blink, Interact
w = Blink.Window()
function inputs()
test = Interact.filepicker()
next = html"""<button onclick='Blink.msg("press", "foo")'>Next</button>"""
Widget(["test"=>test, "next"=>next])
end
page = Interact.node(:html,
Interact.node(:p, inputs()["test"]),
Interact.node(:p, inputs()["next"]))
Blink.body!(w, page)
Blink.handle(w, "press") do args...
body!(w, inputs()["test"][]::String)
end
I'm not getting any file name out of this. I tried the same for dropdown menu:
using Blink, Interact
w = Blink.Window()
function inputs()
test = Interact.dropdown(["dog", "cat", "dolphin"])
next = html"""<button onclick='Blink.msg("press", "foo")'>Next</button>"""
Widget(["test"=>test, "next"=>next])
end
page = Interact.node(:html,
Interact.node(:p, inputs()["test"]),
Interact.node(:p, inputs()["next"]))
Blink.body!(w, page)
Blink.handle(w, "press") do args...
body!(w, inputs()["test"][]::String)
end
The output gives the first option on the list, even though I would've selected the 2nd or 3rd options. And this code worked before though, that's why I'm confused. Though I used my Mac OS previously, just recently switched to Arch Linux. But I built Julia using the official binary in the https://julialang.org/downloads page, not compiled from source using package manager, to avoid the 'Arpack' dependency build issues. The Julia REPL also keeps giving warnings : Warning: Please upgrade WebIO for a smoother integration with Blink.. I'm not sure if this has anything to do with this, but my WebIO has been updated to the latest #master version.
The text was updated successfully, but these errors were encountered:
Hi! It would be great if someone would be able to help out. I have this code, just to test out filepicker to see if the file name/path gets reflected in the output. This code should give the file name/path into a new Blink window, which I'm not getting:
I'm not getting any file name out of this. I tried the same for dropdown menu:
The output gives the first option on the list, even though I would've selected the 2nd or 3rd options. And this code worked before though, that's why I'm confused. Though I used my Mac OS previously, just recently switched to Arch Linux. But I built Julia using the official binary in the https://julialang.org/downloads page, not compiled from source using package manager, to avoid the 'Arpack' dependency build issues. The Julia REPL also keeps giving warnings :
Warning: Please upgrade WebIO for a smoother integration with Blink.
. I'm not sure if this has anything to do with this, but my WebIO has been updated to the latest #master version.The text was updated successfully, but these errors were encountered: