This commit is contained in:
oneao committed 2026-10-09 22:05:02 +08:00
1 parent 0be0b0767a
commit 5f28a10d89
852 files changed
+8962 -111755

No files matched your search

@@ -0,0 +1,9 @@
---
'@g3soft/ui': minor
---
Input 的清除属性统一为 `clearable`(与 Select / DatePicker 一致)。
- 新增 `clearable`;`allowClear` 保留为**兼容别名**,dev 环境下传它会打印迁移提示,两者同时传时以 `clearable` 为准。
- 没有直接删除 `allowClear`:Vue 会静默吞掉未声明的 prop,直接删会让既有调用方的清除按钮**无声消失**。
- 文档(`docs/content/ui/form/input.md`)与示例已同步到新名字。