Skip to content

One to many relationship does no get displayed in Custom Condition #13

Description

@bkrajendra

I've multiple photos for a Model
but when if trying to display it, it show empty []
It also not working for normal table relationship with hasMany attribute:

{ "fillable": "id,center_name,center_zone,center_address,contact_number,email,landmark,user_id,state_id,country_id", "relation": [{ "name": "state", "fillable": "id,name,code" }, { "name": "country", "fillable": "id,name,code" }, { "name": "franchises", "fillable": "name,email" }, { "name": "center_photos", "fillable": "id" }] }
This is what ive written
Here franchises is declared as has many and belongs to relation ship with main table

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions