
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@rax-ui/select
Advanced tools
选择器,用于从选择数据。
| 名称 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| type | 类型 可选值: single, cascade, muliple (weex 端只支持 single 和 muliple) | enum | single |
| data | 数据源 | array | |
| label | 选择框文本 | node | |
| labelWidth | label 宽度 | string | auto |
| actionIcon | 选择框右侧的图标 | node | 'dropdown-down' |
| value | 选择框的值(受控) | any | |
| defaultValue | 选择框的值(非受控) | any | |
| disabled | 是否被禁用 | bool | false |
| solo | 是否只显示选择框内容(不包含 label 和 errorText 、HelpText) | bool | false |
| outline | 是否显示边框 | bool | false |
| placeholder | 选择框的提示文案 | string | |
| helpText | 选择框底部的帮助文案 | node | |
| errorText | 选择框底部的错误文案(设置此项后,选择框变为 error 状态,helpText 无效) | node | |
| align | 选择框内容对齐方向 可选值: left,center,right | enum | left |
| prepend | 选择框的前置内容 | node | |
| append | 选择框的后置内容 | node | |
| clear | 是否可以被清除 | bool | false |
| delimiter | 分割符 | string | , |
| title | 选择器的标题文案 | string | |
| locale | 按钮文案, | { ok, cancel } | { ok: '确定', cancel: '取消' } |
| renderSelection | 渲染已选择的内容 | (value: any, valueLabel: any) => RaxNode | |
| onChange | 选择之后的回调 | (value): void | |
| onFocus | focus 事件的回调 | ():void | |
| onBlur | blur 事件的回调 | ():void | |
| onShow | 选择器打开时的回调 | ():void | |
| onHide | 选择器关闭时的回调 | ():void |
继承 TextField + Picker CSS
| 名称 | 说明 |
|---|---|
| select__picker | |
| select__picker__toolbar | |
| select__picker__title | |
| select__picker__title__text |
FAQs
Rax UI Select
The npm package @rax-ui/select receives a total of 67 weekly downloads. As such, @rax-ui/select popularity was classified as not popular.
We found that @rax-ui/select demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.