form-schema-kit
Advanced tools
+1
-1
| { | ||
| "name": "form-schema-kit", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "Simple JSON form schema for generating live fields with validations, dependencies, pages.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,2 +6,3 @@ 'use strict' | ||
| var fieldDynamicType = require('./get-dynamic-type') | ||
| var fieldGetValue = require('./get-value') | ||
@@ -18,2 +19,4 @@ module.exports = function (field, values, as_is) { | ||
| fieldValidate.call(this, field) | ||
| field.$value = fieldGetValue.call(this, field, 'label').join(field.multiline ? '<br>' : ', ') | ||
| } |
| 'use strict' | ||
| var fieldGetValues = require('./get-value') | ||
| var fieldGetValue = require('./get-value') | ||
| var fieldValidator = require('./validator') | ||
@@ -11,4 +11,4 @@ var isBoolean = require('wsk-utils/var/is/boolean') | ||
| if (isUndefined(validator)) { | ||
| values = fieldGetValues.call(this, field) | ||
| validator = fieldValidator.call(this, field, values, fieldGetValues.call(this, field, 'label')) | ||
| values = fieldGetValue.call(this, field) | ||
| validator = fieldValidator.call(this, field, values, fieldGetValue.call(this, field, 'label')) | ||
| } else { | ||
@@ -15,0 +15,0 @@ validator = { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
46367
0.3%1261
0.16%1
-50%