JuliaPluto/PlutoUI.jl

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

Open

#218 创建于 2022年7月4日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)Julia (60 fork)auto 404
good first issue

仓库指标

Star
 (314 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南