Skip to content

Commit 24b5d37

Browse files
Revert "Fix typo in Geospatial array.min error message"
This reverts commit 4902649.
1 parent 7d305aa commit 24b5d37

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/server/plugins/engine/components/GeospatialField.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe('GeospatialField', () => {
259259
value: getFormData([]),
260260
errors: [
261261
expect.objectContaining({
262-
text: 'Example geospatial field must contain at least 1 item'
262+
text: 'Example geospatial field must contain at least 1 items'
263263
})
264264
]
265265
}

src/server/plugins/engine/components/GeospatialField.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class GeospatialField extends FormComponent {
134134
{ type: 'required', template: messageTemplate.selectRequired },
135135
{
136136
type: 'array.min',
137-
template: '{{#title}} must contain at least 1 item'
137+
template: '{{#title}} must contain at least 1 items'
138138
},
139139
{ type: 'object.invalidjson', template: messageTemplate.format }
140140
],

0 commit comments

Comments
 (0)