Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@icreate/ics-basic-form-builder

Package Overview
Dependencies
Maintainers
4
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icreate/ics-basic-form-builder - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name":"@icreate/ics-basic-form-builder",
"version": "0.0.4",
"version": "0.0.5",
"description": "vue组件封装的表单设计器",

@@ -5,0 +5,0 @@ "main": "form-builder.umd.min.js",

@@ -43,2 +43,3 @@

:option-data="optionData"
:labelAndValue="labelAndValue"
@appendButtonClick="appendButtonClickHandler"

@@ -66,2 +67,3 @@ ref="vFormRef"

>optionData:动态传入的选项数据(例如:多选框的选项)(选传)
>labelAndValue: 获取选项数据的格式(例如:选中下拉框,是否需要获取label值,默认不获取)
>appendButtonClickHandler : 输入框后置按钮的回调函数(选传)

@@ -74,2 +76,3 @@ >submitForm: 可以获取到表单数据formData

return {
labelAndValue:true, //true:获取label 默认为false
designerConfig: {

@@ -86,3 +89,5 @@ resetFormJson: false,

type: "text", //input 输入框的类型(可传)
defaultValue:"", //默认值(可传)
required: true, //是否必填(可传)
requiredHint:'', //必填提示(可传)
validation: "/^[\u4e00-\u9fa5]+$/", //组件的正则校验规则 (可传)

@@ -89,0 +94,0 @@ validationHint: "只能输入中文哦", //校验提示语(可传)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc