Skip to content
Display all form errors in a modal at the top of the page.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Add modal ui Jul 5, 2019
resources/js Add modal ui Jul 5, 2019
src Prevent saving 'errors' - closes #2 Jul 6, 2019
.gitignore Initial Jul 5, 2019
composer.json Update composer Jul 5, 2019
package.json Initial Jul 5, 2019
readme.md Update readme.md Jul 5, 2019
webpack.mix.js Initial Jul 5, 2019

readme.md

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
You can’t perform that action at this time.