JuliaPluto / PlutoSliderServer.jl

Web server to run just the `@bind` parts of a Pluto.jl notebook
https://computationalthinking.mit.edu/
The Unlicense
130 stars 17 forks source link

Support for MultiCheckBox from PlutoUI? #103

Open iabraham opened 1 year ago

iabraham commented 1 year ago

I am consistently getting buggy behavior when the SliderServer runs a notebook with PlutoUI elements; specifically the MultiCheckBox. The notebook runs fine when Pluto is running it; but shows errors when the SliderServer runs it. Here is a MWE:

using  PlutoUI

begin
    sites = ["France","Germany","Russia","China"]
    groupdict = Dict(zip(sites,[[:blue, :white, :red], 
        [:black, :red, :yellow], [:blue, :red, :white], 
        [:red, :yellow]] ))
end

@bind loc Select(sites)

@bind col MultiCheckBox(groupdict[loc])

multicheckbug

Any clue what could be going wrong?