We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c8f1f4 + ef22299 commit 4c80c7fCopy full SHA for 4c80c7f
src/services/schema-form.js
@@ -78,7 +78,7 @@ angular.module('schemaForm').provider('schemaForm',
78
if (schema.description) { f.description = schema.description; }
79
if (options.required === true || schema.required === true) { f.required = true; }
80
if (schema.maxLength) { f.maxlength = schema.maxLength; }
81
- if (schema.minLength) { f.minlength = schema.maxLength; }
+ if (schema.minLength) { f.minlength = schema.minLength; }
82
if (schema.readOnly || schema.readonly) { f.readonly = true; }
83
if (schema.minimum) { f.minimum = schema.minimum + (schema.exclusiveMinimum ? 1 : 0); }
84
if (schema.maximum) { f.maximum = schema.maximum - (schema.exclusiveMaximum ? 1 : 0); }
0 commit comments