dillingham/nova-errors

Display errors at the top of your forms

Installs: 43 566

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 0

Forks: 2

Open Issues: 3

Language:Vue

1.0.2 2019-07-06 10:05 UTC

This package is auto-updated.

Last update: 2024-10-29 05:40:56 UTC


README

Latest Version on Github Total Downloads Twitter Follow

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

Author

Hi 👋, Im Brian Dillingham, creator of this Nova package and others

Hope you find it useful. Feel free to reach out with feedback.

Follow me on twitter: @im_brian_d