DEV Community

loading...

Discussion on: Laravel AJAX CRUD example

Collapse
zavodilo profile image
zavodilo

Great tutorial. But two questions:

  1. $post or $data?
    $post = Post::latest()->get();
    return Datatables::of($data)

  2. Where are the validation?

Collapse
websolutionstuff profile image
Websolutionstuff Author • Edited
  1. Can you please describe more for understanding or attach images.
  2. I think we are missing to add validation.

Thank you so much for informing 🙏