
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
form-view-builder
Advanced tools
npm install form-view-builder -S
import FormBuilder from 'form-view-builder'
import 'form-view-builder/dist/form-view-builder.css'
Vue.use(FormBuilder)
<template>
<form-view-builder
v-model="value"
ref="form"
v-if="config"
:json="json"
:custom="config"
:controls="controls"
:state="state"
@validate="idValidate" />
</template>
<script>
export default {
data() {
return {
value: {},
config: {},
json: {},
controls: {},
state: ''
}
},
methods: {
idValidate() {
console.log('---校验---')
}
}
}
</script>
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| value | 数据源,由 json 中 name 自动生成的数据源 | Object | {} |
| controls | 控制项, 由 json 中 controls 自动生成的控制项,其中 show 属性由 form 自动生成。 | Object | - |
| config | 自定义方法配置项,配置项中方法名与 json 中 config 中方法名保持一致,用于组件触发相应方法 | Object | - |
| state | 状态栏,值与 json 中 controls 中子属性的状态相对应 | String | insert |
| json | 配置文件,最核心的配置项,详情见 json配置详情 | Object | - |
FAQs
## 使用
We found that form-view-builder 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.