{"id":22889612,"url":"https://github.com/dillingham/nova-errors","last_synced_at":"2025-05-07T14:46:19.725Z","repository":{"id":56969089,"uuid":"195439743","full_name":"dillingham/nova-errors","owner":"dillingham","description":"Display all form errors in a modal at the top of the page.","archived":false,"fork":false,"pushed_at":"2022-09-25T08:15:18.000Z","size":101,"stargazers_count":14,"open_issues_count":3,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-16T02:48:48.373Z","etag":null,"topics":["laravel","laravel-nova"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dillingham.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-05T16:34:34.000Z","updated_at":"2023-10-23T16:34:23.000Z","dependencies_parsed_at":"2022-08-21T10:50:39.015Z","dependency_job_id":null,"html_url":"https://github.com/dillingham/nova-errors","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dillingham%2Fnova-errors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dillingham%2Fnova-errors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dillingham%2Fnova-errors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dillingham%2Fnova-errors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dillingham","download_url":"https://codeload.github.com/dillingham/nova-errors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252898403,"owners_count":21821611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-nova"],"created_at":"2024-12-13T21:56:22.898Z","updated_at":"2025-05-07T14:46:19.697Z","avatar_url":"https://github.com/dillingham.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nova Errors\n\n[![Latest Version on Github](https://img.shields.io/github/release/dillingham/nova-errors.svg?style=flat-square)](https://packagist.org/packages/dillingham/nova-errors)\n[![Total Downloads](https://img.shields.io/packagist/dt/dillingham/nova-errors.svg?style=flat-square)](https://packagist.org/packages/dillingham/nova-errors) [![Twitter Follow](https://img.shields.io/twitter/follow/im_brian_d?color=%231da1f1\u0026label=Twitter\u0026logo=%231da1f1\u0026logoColor=%231da1f1\u0026style=flat-square)](https://twitter.com/im_brian_d)\n\nDisplay all form errors in a modal \u0026 scroll to the top of the page.\n\n\u003cimg width=\"100%\" alt=\"Laravel Nova Validation Error Package\" src=\"https://user-images.githubusercontent.com/29180903/60738637-0bb0ed80-9f2d-11e9-86c2-2409dbf56e6f.png\"\u003e\n\n\n### Install\n\n```\ncomposer require dillingham/nova-errors\n```\n\nAdd the `Errors` field to your resource\n\n```php\nuse NovaErrorField\\Errors;\n```\n\n```php\npublic function fields(Request $request)\n{\n    return [\n    \n        Errors::make(),\n        \n        ID::make()-\u003esortable(),\n        \n        //\n    ];\n}\n```\n\nAnd when validation errors occur:\n\n- it will scroll to the top of the page\n- it will display a list of validation errors\n\n---\n\n# Author\n\nHi 👋, Im Brian Dillingham, creator of this Nova package [and others](https://novapackages.com/collaborators/dillingham)\n\nHope you find it useful. Feel free to reach out with feedback.\n\nFollow me on twitter: [@im_brian_d](https://twitter.com/im_brian_d) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdillingham%2Fnova-errors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdillingham%2Fnova-errors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdillingham%2Fnova-errors/lists"}