
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@grid-form/common
Advanced tools
栅栏表单通用模块
| 名称 | 参数 | 说明 |
|---|---|---|
| createForm | 创建用于表单设计器、渲染器的数据对象 | |
| createFormItem | (widget) | 创建表单项 |
| buildOptions | (text, valueField="value") | 生成适用于 naive-ui 的选项列表 |
| buildComponent | (item, widget, track=true) | 渲染表单组件 |
| withHtmlNode | (html) | 创建 div 包含指定的 html 代码 |
| lifeCycles | 常量 | 表单事件定义 |
| formValueProvider | Object | 根据占位符计算表单项的默认值 |
| triggerLoaded | (body, form) | 用于表单加载完成后触发 onLoad 事件 |
| triggerBeforeSubmit | (body, form, items) | 用于表单加载完成后触发 onSubmit 事件 |
| triggerExtraButtonClick | (body, form) | 自定义按钮点击后触发的事件 |
文档请查阅:grid-form in Github
FAQs
> [栅栏表单](https://github.com/0604hx/grid-form)通用模块
The npm package @grid-form/common receives a total of 35 weekly downloads. As such, @grid-form/common popularity was classified as not popular.
We found that @grid-form/common 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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.