1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-27 08:15:39 +02:00

[#3090] fixed relation to view error message

This commit is contained in:
Gani Georgiev 2023-08-08 12:41:51 +03:00
parent f90da96820
commit bd18688f35
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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.",
),
}},
}