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
Hi!
If there's a Heading::make field in a resource, it becomes required while using nova-callbacks package. Actually, I modified
(new static($model))->updateFieldsWithoutReadonly($request)
to
(new static($model))
->updateFields($request)
->applyDependsOn($request)
->withoutReadonly($request)
->withoutUnfillable()
and analogically in the fill method.
The text was updated successfully, but these errors were encountered:
Hi! is this package still relevant with Nova 4? I saw there are callbacks similar to what this package provides
I believe you are referring to Action Callbacks. The problem with Action callbacks is you have to define a specific action that you then click from a menu and it fires your callbacks.
I want to be able to handle callbacks just from using the application by updates and saves, etc... For instance, whenever a role is attached to a user, send them an email. I don't want to have to create an action for each role when I can just check to see if the role is attached on save and then dispatch my event. Otherwise I'd have 100's of actions for each role and what I want to fire against it.
Hi!
If there's a Heading::make field in a resource, it becomes required while using nova-callbacks package. Actually, I modified
(new static($model))->updateFieldsWithoutReadonly($request)
to
(new static($model))
->updateFields($request)
->applyDependsOn($request)
->withoutReadonly($request)
->withoutUnfillable()
and analogically in the fill method.
The text was updated successfully, but these errors were encountered: