This field give the ability to hide fields from your resources table on mobile screens for a better responsive concept
outhebox/nova-fields-agent is a Laravel package for this field give the ability to hide fields from your resources table on mobile screens for a better responsive concept.
It currently has 10 GitHub stars and 1.159 downloads on Packagist (latest version v1.1).
Install it with composer require outhebox/nova-fields-agent.
Discover more Laravel packages by outhebox
or browse all Laravel packages to compare alternatives.
Last updated
This field give the ability to hide fields from your resources table on mobile screens for a better responsive concept.
Thank you for considering supporting the development of this package! If you'd like to contribute, you can buy me a coffee or sponsor me to help keep me motivated to continue improving this package. You can also support the project by starring ⭐ the repository.
To buy me a coffee, click the button below:

This package can be installed through Composer.
composer require outhebox/nova-fields-agent
Note: All Fields Supported "Text Field only for example".
// Important !!!
use Outhebox\NovaFieldsAgent\HasNovaFieldsAgent;
class Example extends Resource
{
use HasNovaFieldsAgent; // Important !!!
/**
* Get the fields displayed by the resource.
*
* @param \Illuminate\Http\Request $requestµµ
* @return array
*/
public function fields(Request $request)
{
Text::make('ExampleField')
->hideFromDetailOnMobile() // Hide the field from details page on Mobile
->hideFromDetailOnTablet() // Hide the field from details page on Tablet
->HideFromIndexOnMobile() // Hide the field from index on Mobile
->HideFromIndexOnTablet() // Hide the field from index on Tablet
->sortable(),
}
}
Laravel Nova Fields Agent is licensed under The MIT License (MIT) .
If you like this package, you can show your appreciation 💜 by donating any amount via Patreon to support ongoing development.