Select HasMany relationship with CreateOption
According to the docs the ability to create a new option on the fly only supports
BelongsTo
and BelongsToMany
relations, but my use-case is a HasMany
. I have been experimenting but nothing seems to work unfortunately. How can I get a HasMany to work?
What I am trying to achieve is a checkout form where an authed user can select a shipping address, and if it does not exist they could create one on the fly.
0 Replies