Impossible to use within Nova Actions
lazerg opened this issue · comments
Lazizbek Ergashev commented
Hello. Your package is great.
I have a big form in an action and I wanted to use Tabulation.
class NovaActivateCompanyAction extends Action
{
use InteractsWithQueue, Queueable;
public function fields(NovaRequest $request): array
{
return [
Tabs::make('Company details', [
Tab::make('User details', [
// ...
]),
Tab::make('Register form #1', [
// ...
]),
]),
];
}
After having such action, I am getting this error: Method Eminiarts\\Tabs\\Tabs::authorizedToSee does not exist.
{
"message": "Method Eminiarts\\Tabs\\Tabs::authorizedToSee does not exist.",
"exception": "BadMethodCallException",
"file": "/var/www/app/vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php",
"line": 113,
}
Max commented
It's not supposed to be used insight nova actions. Tabs is for resources.
Lazizbek Ergashev commented
It's not supposed to be used insight nova actions. Tabs is for resources.
I know it
If there is absolutely no way of it, let me know, i will close the issue.