[Multiple FT] what is the correct way to add associative data to the multiple ft?
Created 7 years ago by edsterSo I have a stream of sections, and a stream of properties.
I need a price field/data associated for each section per property.
I have a multiple select configured on properties -> sections, which creates the relation table, but I don't know how to get the associative data with it.
Helps!
It's a
BelongsToMany
so you can use create / sync / etc just like you would with Laravel.You can also do this which is NOT possible in Laravel - and kinda handy: https://pyrocms.com/documentation/multiple-field-type/latest#usage/setting-values