@icreate/ics-basic-form-builder
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1431409
429