parent
3c21a6a6db
commit
b272553c7b
@ -23,7 +23,7 @@ The relation widget allows you to reference items from another collection. It pr
|
|||||||
name: "author"
|
name: "author"
|
||||||
widget: "relation"
|
widget: "relation"
|
||||||
collection: "authors"
|
collection: "authors"
|
||||||
searchFields: "[name, twitterHandle]"
|
searchFields: ["name", "twitterHandle"]
|
||||||
valueField: "name"
|
valueField: "name"
|
||||||
```
|
```
|
||||||
The generated UI input will search the authors collection by name and twitterHandle as the user types. On selection, the author name will be saved for the field.
|
The generated UI input will search the authors collection by name and twitterHandle as the user types. On selection, the author name will be saved for the field.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user