comand-component-library 4.2.35 → 4.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/comand-component-library.js +1555 -1538
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/CmdBasicForm.vue +2 -1
- package/src/components/CmdFormElement.vue +20 -8
- package/src/components/CmdMultistepFormProgressBar.vue +4 -0
- package/src/mixins/FieldValidation.js +1 -1
@@ -227,7 +227,7 @@ export default {
|
|
227
227
|
// check if field has a minimum length
|
228
228
|
if(this.$attrs.minlength) {
|
229
229
|
standardRequirements.push({
|
230
|
-
message: this.getMessage("field_validation.input_has_minimum_length") + " (" + this.modelValue
|
230
|
+
message: this.getMessage("field_validation.input_has_minimum_length") + " (" + this.modelValue?.length + "/" + this.$attrs.minlength + ")",
|
231
231
|
valid(value, attributes) {
|
232
232
|
return value.length >= attributes.minlength
|
233
233
|
}
|