Skip to content

2.0.4

Compare
Choose a tag to compare
@ndrez-outl1ne ndrez-outl1ne released this 24 May 13:49
· 7 commits to main since this release
f78dfaa

Changed

  • Fixed Lens behavior, callbacks are now always invoked from the Lens class, not the resource class
  • Added option to get extra data in callback:
$field->withMeta(['extraData' => ['campaignId' => $campaignId]])
  ->fillUsing(function ($request, $model, $attribute) {
       $campaignId = $request->extraData['campaignId'];
       ...
  }),