nova-callbacks
nova-callbacks copied to clipboard
Issue with headings
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.
Hi! is this package still relevant with Nova 4? I saw there are callbacks similar to what this package provides
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.
Based on this, is your package still relevant?