I feel bad for creating a new issue for this, but after many hours of playing in an editor and staring at the documentation I'm not sure if this is even possible anymore. I've figured out how to place a folder-selection dialog inside a Blink window, and I'd like to display this folder path under it. I've tried things along the lines of (where resultpath is the opendialog button):
on(print(string("test: ",&resultpath[])))
and
display(resultpath[])
and
on(observe,resultpath)
and
print(resultpath[])
These all fail to do what I'd like, which is just show me text of what folder I clicked on. I'm afraid I'm just not smart enough to figure this out yet. Is there a better way to do this besides going towards full CSS+HTML?
Hi,
I feel bad for creating a new issue for this, but after many hours of playing in an editor and staring at the documentation I'm not sure if this is even possible anymore. I've figured out how to place a folder-selection dialog inside a Blink window, and I'd like to display this folder path under it. I've tried things along the lines of (where
resultpath
is theopendialog
button):on(print(string("test: ",&resultpath[])))
anddisplay(resultpath[])
andon(observe,resultpath)
andprint(resultpath[])
These all fail to do what I'd like, which is just show me text of what folder I clicked on. I'm afraid I'm just not smart enough to figure this out yet. Is there a better way to do this besides going towards full CSS+HTML?