You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.
Hi
First of all I am not very expert of Laravel, so please be kind :)
I'm trying to extend the Page model, adding a category_id which will refer to a new model I am going to create.
I found the quickest way is to add to the quarx.forms.page config and the form was rendered successfully. But then how I can interact with the model, to allow the new field to be stored (and retrieved) ? What is the best practice here?
Thanks!
The text was updated successfully, but these errors were encountered:
Yeah I had been using the fillable on the models which meant you wouldn't be able to add more fields. I've switched it now to guarded so you can add any fields you want.
Hi
First of all I am not very expert of Laravel, so please be kind :)
I'm trying to extend the Page model, adding a
category_id
which will refer to a new model I am going to create.I found the quickest way is to add to the
quarx.forms.page
config and the form was rendered successfully. But then how I can interact with the model, to allow the new field to be stored (and retrieved) ? What is the best practice here?Thanks!
The text was updated successfully, but these errors were encountered: