@farris/jit-engine 1.3.86 → 1.3.87
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/README.md
CHANGED
|
@@ -53,7 +53,7 @@ class Control extends i18n_resource_1.I18nResource {
|
|
|
53
53
|
if (maxBindingValue.isVariable || maxBindingValue.isExpression || maxBindingValue.isForm) {
|
|
54
54
|
canAddRule = false;
|
|
55
55
|
}
|
|
56
|
-
if (canAddRule && maxBindingValue.value) {
|
|
56
|
+
if (canAddRule && (maxBindingValue.value || maxBindingValue.value == 0)) {
|
|
57
57
|
this.validRules.push(new FormValidRule({
|
|
58
58
|
type: 'maxValue',
|
|
59
59
|
constraints: [maxBindingValue.value]
|
|
@@ -68,7 +68,7 @@ class Control extends i18n_resource_1.I18nResource {
|
|
|
68
68
|
if (minBindingValue.isVariable || minBindingValue.isExpression || minBindingValue.isForm) {
|
|
69
69
|
canAddRule = false;
|
|
70
70
|
}
|
|
71
|
-
if (canAddRule && minBindingValue.value) {
|
|
71
|
+
if (canAddRule && (minBindingValue.value || minBindingValue.value == 0)) {
|
|
72
72
|
this.validRules.push(new FormValidRule({
|
|
73
73
|
type: 'minValue',
|
|
74
74
|
constraints: [minBindingValue.value]
|