Thank you for this great package!
I am unable to get this package working with a project using Laravel 7. I have used this package in a different project that is on Laravel 6 and Nova 2.7 where the same code works fine.
This is how using the package in a Nova Action:
Text::make('Email')->rules('required', 'email')->default('test@test.com'),
Laravel version: v7.15
Nova version: v3.6.0
Package version: v1.2
I also tried using a callback and using dd() to inspect the request but I don't think the default() function is being called.
Text::make('Email')->rules('required', 'email')->default(function (NovaRequest $request) { dd($request->resourceId); }),
Can you please check? Let me know if you need any more information to replicate the issue.
Thank you for this great package!
I am unable to get this package working with a project using Laravel 7. I have used this package in a different project that is on Laravel 6 and Nova 2.7 where the same code works fine.
This is how using the package in a Nova Action:
Text::make('Email')->rules('required', 'email')->default('test@test.com'),Laravel version: v7.15
Nova version: v3.6.0
Package version: v1.2
I also tried using a callback and using dd() to inspect the request but I don't think the default() function is being called.
Text::make('Email')->rules('required', 'email')->default(function (NovaRequest $request) { dd($request->resourceId); }),Can you please check? Let me know if you need any more information to replicate the issue.