@formio/js 5.0.0-dev.5651.ebc09cb → 5.0.0-dev.5655.a31d680
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/formio.form.js +2 -2
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +2 -2
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/components/_classes/input/Input.js +6 -4
- package/lib/cjs/translations/en.d.ts +2 -0
- package/lib/cjs/translations/en.js +3 -1
- package/lib/mjs/components/_classes/input/Input.js +6 -4
- package/lib/mjs/translations/en.d.ts +2 -0
- package/lib/mjs/translations/en.js +3 -1
- package/package.json +1 -1
|
@@ -151,13 +151,15 @@ class Input extends Multivalue_1.default {
|
|
|
151
151
|
else {
|
|
152
152
|
this.addClass(element, 'text-danger');
|
|
153
153
|
}
|
|
154
|
-
this.setContent(element, this.t(`
|
|
155
|
-
remaining: remaining
|
|
154
|
+
this.setContent(element, this.t(`typeRemaining`, {
|
|
155
|
+
remaining: remaining,
|
|
156
|
+
type: type
|
|
156
157
|
}));
|
|
157
158
|
}
|
|
158
159
|
else {
|
|
159
|
-
this.setContent(element, this.t(`
|
|
160
|
-
count: count
|
|
160
|
+
this.setContent(element, this.t(`typeCount`, {
|
|
161
|
+
count: count,
|
|
162
|
+
type: type
|
|
161
163
|
}));
|
|
162
164
|
}
|
|
163
165
|
}
|
|
@@ -73,5 +73,7 @@ exports.default = {
|
|
|
73
73
|
submitButtonAriaLabel: 'Submit Form button. Click to submit the form',
|
|
74
74
|
reCaptchaTokenValidationError: 'ReCAPTCHA: Token validation error',
|
|
75
75
|
reCaptchaTokenNotSpecifiedError: 'ReCAPTCHA: Token is not specified in submission',
|
|
76
|
-
apiKey: 'API Key is not unique: {{key}}'
|
|
76
|
+
apiKey: 'API Key is not unique: {{key}}',
|
|
77
|
+
typeRemaining: '{{ remaining }} {{ type }} remaining.',
|
|
78
|
+
typeCount: '{{ count }} {{ type }}'
|
|
77
79
|
};
|
|
@@ -146,13 +146,15 @@ export default class Input extends Multivalue {
|
|
|
146
146
|
else {
|
|
147
147
|
this.addClass(element, 'text-danger');
|
|
148
148
|
}
|
|
149
|
-
this.setContent(element, this.t(`
|
|
150
|
-
remaining: remaining
|
|
149
|
+
this.setContent(element, this.t(`typeRemaining`, {
|
|
150
|
+
remaining: remaining,
|
|
151
|
+
type: type
|
|
151
152
|
}));
|
|
152
153
|
}
|
|
153
154
|
else {
|
|
154
|
-
this.setContent(element, this.t(`
|
|
155
|
-
count: count
|
|
155
|
+
this.setContent(element, this.t(`typeCount`, {
|
|
156
|
+
count: count,
|
|
157
|
+
type: type
|
|
156
158
|
}));
|
|
157
159
|
}
|
|
158
160
|
}
|
|
@@ -71,5 +71,7 @@ export default {
|
|
|
71
71
|
submitButtonAriaLabel: 'Submit Form button. Click to submit the form',
|
|
72
72
|
reCaptchaTokenValidationError: 'ReCAPTCHA: Token validation error',
|
|
73
73
|
reCaptchaTokenNotSpecifiedError: 'ReCAPTCHA: Token is not specified in submission',
|
|
74
|
-
apiKey: 'API Key is not unique: {{key}}'
|
|
74
|
+
apiKey: 'API Key is not unique: {{key}}',
|
|
75
|
+
typeRemaining: '{{ remaining }} {{ type }} remaining.',
|
|
76
|
+
typeCount: '{{ count }} {{ type }}'
|
|
75
77
|
};
|