injecting view data to action
I have an action::make inside a ViewRecord under getHeaderActions()
I have a ->disabled() value but want to pickup the model data to set this.
I have tried disabled(function ($data)) and also $arguments but these are both empty.
I have a ->disabled() value but want to pickup the model data to set this.
I have tried disabled(function ($data)) and also $arguments but these are both empty.