diff --git a/src/openforms/js/components/formio_builder/WebformBuilder.js b/src/openforms/js/components/formio_builder/WebformBuilder.js index 88f3a4f826..fe598f4abe 100644 --- a/src/openforms/js/components/formio_builder/WebformBuilder.js +++ b/src/openforms/js/components/formio_builder/WebformBuilder.js @@ -58,7 +58,7 @@ class WebformBuilder extends WebformBuilderFormio { value = false; } component.validate = { - ...componentSchema.validate, + ...component.validate, required: value, }; } diff --git a/src/openforms/js/lang/formio/en.json b/src/openforms/js/lang/formio/en.json index 2805e38d5a..eb57859e75 100644 --- a/src/openforms/js/lang/formio/en.json +++ b/src/openforms/js/lang/formio/en.json @@ -41,5 +41,6 @@ "invalid_time": "Only times between {{ minTime }} and {{ maxTime }} are allowed.", "You must select at least {{minCount}} items.": "Ensure this field has at least {{minCount}} checked options.", "Empty fields": "Fields without a value", + "Invalid Postcode": "The submitted value does not match the postcode pattern: 1234 AB", "": "" } diff --git a/src/openforms/js/lang/formio/nl.json b/src/openforms/js/lang/formio/nl.json index a6c048617e..1ac69a66e3 100644 --- a/src/openforms/js/lang/formio/nl.json +++ b/src/openforms/js/lang/formio/nl.json @@ -360,7 +360,7 @@ "Form fields": "Formuliervelden", "Presets": "Voorgedefinieerd", "Deprecated": "Verouderd", - "Invalid Postcode": "Ongeldige Postcode", + "Invalid Postcode": "De opgegeven waarde voldoet niet aan het postcode formaat: 1234 AB", "Clear on hide": "Wissen als veld verborgen is", "Remove the value of this field from the submission if it is hidden. Note: the value of this field is then also not used in logic rules!": "Verwijder de waarde van dit veld van de inzending als dit veld verborgen is. Let op: De waarde van dit veld wordt dan ook niet gebruikt in logica regels!", "Column sizes": "Grootte van de kolommen",