JuliaPluto/PlutoUI.jl

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

Open

#218 aberto em 4 de jul. de 2022

Ver no GitHub
 (0 comments) (1 reaction) (0 assignees)Julia (60 forks)auto 404
good first issue

Métricas do repositório

Stars
 (314 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador