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.

貢獻者指南