laravel-adminpanel icon indicating copy to clipboard operation
laravel-adminpanel copied to clipboard

create new blog-tag occurs an error with the message "insert Blog Tag"

Open yaserhadi opened this issue 4 years ago • 0 comments

Hi; When I create a new blog-tag an error occurs with the message "insert Blog Tag" I solve it by remove "required" from function rules() which inside CreateBlogTagsRequest file (app/Http/Requests/Backend/BlogTags/CreateBlogTagsRequest.php)

public function rules() { return [ 'name' => 'max:191|unique:blog_tags,name,', ]; }

yaserhadi avatar Jan 12 '21 23:01 yaserhadi