This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

kubuss8822438
kubuss8822438

Hi,

I have simple relation. House hasMany Room. Now I made custom Relation Behavior Config for House:

rooms:
    label: Rooms
    view:
        list: $/project/house/models/room/columns.yaml
        toolbarButtons: create|delete
    manage:
        form: $/project/house/models/room/fields.yaml

And it works great. However when I want to Create new Room from House edit page users is asked witch House to attach? For me that is obvious - user is in House edit page (f.ex. id:1), and he wants to add new Room so house_id should be 1. Any idea how to fill this field for the user?

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.