Extend Blade Components
1. Create a Blade component
php artisan make:component FieldRoot2. Extend and replace any method
<?php
namespace App\View\Components;
use Tanthammar\TallForms\Components\FieldRoot as OriginalFieldRoot;
use Tanthammar\TallForms\Traits\Helpers;
class FieldRoot extends OriginalFieldRoot
{
public function class(): void
{
// return your own styling classes
}
}3. Replace the component in tall-forms config.
Last updated
Was this helpful?