[#3090] fixed relation to view error message
This commit is contained in:
parent
f90da96820
commit
bd18688f35
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
- Enabled lazy loading for the Admin UI thumb images.
|
- 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
|
## v0.17.2
|
||||||
|
|
||||||
|
|
|
@ -289,7 +289,7 @@ func (form *CollectionUpsert) checkRelationFields(value any) error {
|
||||||
"options": validation.Errors{
|
"options": validation.Errors{
|
||||||
"collectionId": validation.NewError(
|
"collectionId": validation.NewError(
|
||||||
"validation_field_non_view_base_relation_collection",
|
"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.",
|
||||||
),
|
),
|
||||||
}},
|
}},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue