Fill up hasMany relationship in create form

Feature(s) impacted

Creating a record with hasMany relationship in a o2m relation

Observed behavior

There’s no multiple select input to fill the hasMany relationship directly from the creation form, we need to add the related data from the details of a record

Expected behavior

Is there a way to fill the hasMany relationship through a dropdown directly from the creation form ?

Context

  • Project name: AIA
  • Team name: Operations
  • Environment name: production / staging
  • Agent type & version: Standalone, used with mysql db
  • Recent changes made on your end if any:
1 Like

The creation form only contains fields of a given model, not HasMany and BelongsToMany relationships.

Sadly HasMany and BelongsToMany relations need to be filled in on the related data page, and I can’t find an easy way to work around that.

Ok thanks for your reply !