JuliaPluto / PlutoUI.jl

https://featured.plutojl.org/basic/plutoui.jl
The Unlicense
299 stars 54 forks source link

Interpolating Radio into `md_str` not working #223

Open eahenle opened 1 year ago

eahenle commented 1 year ago

Sometimes Radio objects interpolated into markdown cells do not behave correctly.

This radio button will respond visually, but will not change the value of var:

md"""
blah blah: $(@bind var Radio(["1" => 1, "2" => 2]))
"""

This radio button works as intended:

md"""
blah blah: 

$(@bind var Radio(["1" => 1, "2" => 2]))
"""

Other interactive objects seem to work fine, only the Radio objects I've noticed doing this.