My intuition suggests that Radio and Select should behave identically apart from visual appearance. However, Radio only supports strings as key values. Thus,
@bind M Radio([M1 => "Diagonal Matrix", M2 => "Symmetric Matrix"])
does not work but
@bind M Select([M1 => "Diagonal Matrix", M2 => "Symmetric Matrix"])
My intuition suggests that
Radio
andSelect
should behave identically apart from visual appearance. However,Radio
only supports strings as key values. Thus,does not work but
does.
It seems this issues used to exist for
Select
too, but it was fixed in https://github.com/JuliaPluto/PlutoUI.jl/issues/3. WasRadio
perhaps forgotten?