Forms\Components\Section::make('Import From Box')
->headerActions([
Forms\Components\Actions\Action::make('Fetch')
->action(fn (BoxApi $boxApi, Forms\Set $set, ?array $state) => static::fetchBoxApi($boxApi, $set, $state))
->failureNotification(static::createNotification(
'Value Not Found!', 'Please make sure its a valid URL!'
))
->successNotification(static::createNotification(
'Successful', 'Value Has been Imported!'
)),
])
->schema([
...
])->columns(2),
Forms\Components\Section::make('Import From Box')
->headerActions([
Forms\Components\Actions\Action::make('Fetch')
->action(fn (BoxApi $boxApi, Forms\Set $set, ?array $state) => static::fetchBoxApi($boxApi, $set, $state))
->failureNotification(static::createNotification(
'Value Not Found!', 'Please make sure its a valid URL!'
))
->successNotification(static::createNotification(
'Successful', 'Value Has been Imported!'
)),
])
->schema([
...
])->columns(2),