dillingham/nova-errors

Display errors at the top of your forms


Keywords
nova, laravel, laravel-nova
License
MIT

Documentation

Nova Errors

Latest Version on Github Total Downloads

Display all form errors in a modal & scroll to the top of the page.

Laravel Nova Validation Error Package

Install

composer require dillingham/nova-errors

Add the Errors field to your resource

use NovaErrorField\Errors;
public function fields(Request $request)
{
    return [
    
        Errors::make(),
        
        ID::make()->sortable(),
        
        //
    ];
}

And when validation errors occur:

  • it will scroll to the top of the page
  • it will display a list of validation errors