JuliaGizmos / InteractBase.jl

Build interactive HTML5 widgets in Julia
Other
27 stars 23 forks source link

Function InteractBase.dropdown was about to overflow #75

Closed MLackner closed 5 years ago

MLackner commented 6 years ago

Hi! I get an error using dropdown menus when trying to execute the example code from the API reference:

using InteractBulma, WebIO

options = Observable(["a", "b", "c"])
wdg = dropdown(options)

This gives the following error message and stacktrace:

ERROR: Function InteractBase.dropdown was about to overflow: check the signature
Stacktrace:
 [1] #dropdown#106(::Array{Any,1}, ::Function, ::InteractBulma.Bulma, ::Vararg{Any,N} where N) at /Users/lackner/.julia/v0.6/InteractBase/src/defaults.jl:10
 [2] dropdown(::InteractBulma.Bulma, ::Observables.Observable{Array{String,1}}) at /Users/lackner/.julia/v0.6/InteractBase/src/defaults.jl:10
 [3] #dropdown#106(::Array{Any,1}, ::Function, ::Observables.Observable{Array{String,1}}, ::Vararg{Observables.Observable{Array{String,1}},N} where N) at /Users/lackner/.julia/v0.6/InteractBase/src/defaults.jl:12
 [4] dropdown(::Observables.Observable{Array{String,1}}) at /Users/lackner/.julia/v0.6/InteractBase/src/defaults.jl:10
 [5] eval(::Module, ::Any) at ./boot.jl:235
piever commented 6 years ago

The method to create a dropdown from a Observable directly was added recently, can you Pkg.update() and try again?