JuliaPluto/PlutoUI.jl

`MultiSelect` is too finicky about type of `default`

Open

Aperta il 4 lug 2022

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)Julia (314 star) (60 fork)auto 404
good first issue

Descrizione

For example, this doesn't work:

MultiSelect([1=>"a", 2=>"b"]; default=Any[1])

image

This can become annoying when the default is generated from some loosely-typed data.

Guida contributor