marshmallow / nova-placeholder
A placeholder field to just so some content on forms without any logic.
Installs: 416
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: ^8.0
Requires (Dev)
- laravel/nova: ^4.0
README
Nova Placeholder field
This package adds a Placeholder field which you can use in Laravel Nova. This package only outputs some HTML in the forms of your resource. This is not a field to store any data, just to display some stuff.
Installation
You can install the package via composer:
composer require marshmallow/nova-placeholder
Usage
Just add the HTML you want to output in the resource to the content()
method. Thats it!
use Marshmallow\Placeholder\Placeholder; Placeholder::make(__('Planning')) ->content('Deze lead is planned to be completed on august 1. This will be done by <strong>John Doe</strong>.<br/><a href="">Click here</a> to view the full construction planning.'), Placeholder::make(__('Planning')) ->view('components.planning', [ 'lead' => $lead, ]),
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.