2.0.4
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'];
...
}),