Closed jamesratcliffe closed 6 years ago
Thanks for reporting this James.
Indeed, that should work and it doesn't. I've taken your code and created a unit test to demonstrate it: https://github.com/troelskn/laravel-fillable-relations/tree/bug/three-level-fill
Fixed in #6
I have a 3-level hierarchy using hasMany. Models are in this gist.
This gives an error:
If I leave out the choice, it's fine. The field is inserted with the correct tool_id.