laravel-nova-nested-form
laravel-nova-nested-form copied to clipboard
Nested Form Not Working, Clicking On the Relation Returns Error
When I The Nested Form it Thorws Error in Vue
[Vue warn]: Error in v-on handler: "TypeError: Cannot read property 'key' of undefined"
vendor.js?id=cf24b7c78df6fa73c9fc:96048 TypeError: Cannot read property 'key' of undefined
I don't Get Where the Problem Was. Here is My Code
NestedForm::make('Profile', 'profile') ->heading('Profile'),
My relation Are In User
Model
public function profile() { return $this->hasOne(Profile::class); }
And In Profile
Model
public function user() { return $this->belongsTo(User::class); }
I am receiving the same error.
@jahid56 this pull request solves the problem Pull Request
I get the same error with a HasOne
relation. Is the above PR to be merged anytime soon?