JuliaPluto/PlutoUI.jl

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

Open

#218 opened on Jul 4, 2022

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Julia (314 stars) (60 forks)auto 404
good first issue

Description

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.

Contributor guide