halo/ui/docs
Takagi 19049c1302
feat: add default selection option to formkit select component (#6538)
#### What type of PR is this?

/kind improvement
/area ui
/milestone 2.19.x

#### What this PR does / why we need it:

为 formkit select 增加属性 `autoSelect`。

这个属性仅会作用于单选,且目的是为了初始化数据所用。当 value 或者 placeholder 存在时,此属性无效。

会查找第一个 option 不为 disabled 的数据。

#### Does this PR introduce a user-facing change?
```release-note
None
```
2024-08-29 04:15:24 +00:00
..
components Move folder console to ui 2024-02-02 22:22:51 +08:00
custom-formkit-input feat: add default selection option to formkit select component (#6538) 2024-08-29 04:15:24 +00:00
extension-points feat: make comment and reply list item operations extendable (#6438) 2024-08-05 06:56:25 +00:00
project-structure Move folder console to ui 2024-02-02 22:22:51 +08:00
routes-generation Move folder console to ui 2024-02-02 22:22:51 +08:00