Fill defaults on create with $attributes from model
Hi,
Wondering if I am overlooking something.
I would love to always fill the defaults in the form based on the default attributes in the model.
Currently I am adding this to the mount in the create pages:
But I kinda feel this should be done already somehow?
1 Reply
Why should it “be done already”? Not everyone has defaults for their attributes. What you’re doing is fine for you app because your app utilizes it.