Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
ac-input-locale
Advanced tools
多语输入组件
$ ynpm install ac-input-locale --save-dev
引入
import AcInputLocale from 'ac-input-locale';
样式引入
import 'ac-input-locale/dist/index.css';
参数 | 说明 | 类型 | 返回值 | 是否必填 |
---|---|---|---|---|
className | 容器样式 | string | --- | 否 |
onOk | 点击确定的钩子函数 | fun | object | 否 |
onCancel | 点击取消的钩子函数 | fun | Object | 否 |
locale | 当前语种 | string | -- | 否 当前语种为空时,默认显示系统语种,若系统语种也为空时,显示zh_CN |
sysLocale | 系统语种 | string | -- | 否 |
localeList | 语言列表 | object | -- | 是 |
onChange | 输入框的change的钩子函数 | fun | object | 否 |
isTextarea | 是否textarea,默认false | bool | -- | 否 |
modalLocale | 模态框中title、按钮的文字语态 | object | -- | 否 |
inputId | input的唯一值 | string | -- | 和 form相关联 |
form | this.props.form | object | -- | 和 inputId 相关联 |
设置form,启动表单校验。
FAQs
InputLocale ui component for react
The npm package ac-input-locale receives a total of 1 weekly downloads. As such, ac-input-locale popularity was classified as not popular.
We found that ac-input-locale demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.