Skip to content

Commit 420a095

Browse files
committed
Note field handle limitation in relatedTo param
1 parent 59c8ef2 commit 420a095

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/5.x/system/relations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ Suppose we wanted to recommend recipes that use the current one’s alternate pr
274274

275275
By being explicit about the field we want the relation to use, we can show the user recipes that don’t rely on substitutions to meet their dietary needs.
276276

277+
::: warning
278+
The `field` param does not honor handles overridden in a field layout. Craft doesn’t know until elements are actually loaded which field layouts are relevant.
279+
:::
280+
277281
### Sites
278282

279283
Property

0 commit comments

Comments
 (0)