@hmcts/rpx-xui-common-lib 1.7.40 → 1.7.41
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/bundles/hmcts-rpx-xui-common-lib.umd.js +3 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +4 -1
- package/esm5/lib/components/generic-filter/generic-filter.component.js +4 -1
- package/fesm2015/hmcts-rpx-xui-common-lib.js +3 -0
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +3 -0
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -1414,6 +1414,9 @@
|
|
|
1414
1414
|
var validators = [];
|
|
1415
1415
|
if (field.minSelected && field.minSelected > 0) {
|
|
1416
1416
|
validators.push(forms.Validators.required);
|
|
1417
|
+
if (field.type === 'text-input') {
|
|
1418
|
+
validators.push(forms.Validators.minLength(field.minSelected));
|
|
1419
|
+
}
|
|
1417
1420
|
}
|
|
1418
1421
|
/** @type {?} */
|
|
1419
1422
|
var defaultValue = null;
|