From bd18688f35773bb581c562d5093f1089f71e1d40 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Tue, 8 Aug 2023 12:41:51 +0300 Subject: [PATCH] [#3090] fixed relation to view error message --- CHANGELOG.md | 2 ++ forms/collection_upsert.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb9f62d3..a0002c1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - Enabled lazy loading for the Admin UI thumb images. +- Fixed the error messages for relation to views ([#3090](https://github.com/pocketbase/pocketbase/issues/3090)). + ## v0.17.2 diff --git a/forms/collection_upsert.go b/forms/collection_upsert.go index 753d76a8..ca1db1fc 100644 --- a/forms/collection_upsert.go +++ b/forms/collection_upsert.go @@ -289,7 +289,7 @@ func (form *CollectionUpsert) checkRelationFields(value any) error { "options": validation.Errors{ "collectionId": validation.NewError( "validation_field_non_view_base_relation_collection", - "Non view collections are now allowed to have a view relation.", + "Non view collections are not allowed to have a view relation.", ), }}, }