iter(g208): multiSelect 支持一键清空

This commit is contained in:
HIsheR
2026-10-26 19:20:35 +08:00
parent b91c1952e9
commit 9180e2c9fd
6 changed files with 21 additions and 3 deletions
+6 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "ui-arch-registry-index/0.1",
"generatedAt": "2026-10-26T11:17:54.464Z",
"generatedAt": "2026-10-26T11:20:15.456Z",
"repoRoot": ".",
"packages": [
{
@@ -3132,6 +3132,11 @@
"n": "onChange",
"t": "(values: string[]) => void",
"d": "变更回调(传副本)"
},
{
"n": "clearable",
"t": "boolean",
"d": "开启后有选中值时在右缘显示一键清空按钮;缺省不渲染"
}
],
"example": "multiSelect({ value: tagPick, max: 3, placeholder: '选择技术栈', options: [{ value: 'ts', label: 'TypeScript' }, { value: 'css', label: 'CSS 令牌' }] })",