😅[COMMON] validator->fails, ajax, unique full (ok)

https://www.itsolutionstuff.com/post/laravel-9-ajax-form-validation-exampleexample.html

Example 1.1 cơ bản

C:\xampp\htdocs\test\routes\web.php

C:\xampp\htdocs\test\app\Http\Controllers\PostController.php

C:\xampp\htdocs\test\database\migrations\2022_05_05_040656_create_posts_table.php

C:\xampp\htdocs\test\app\Models\Post.php

C:\xampp\htdocs\test\resources\views\posts.blade.php

Example 1.2 Update trường title, body duy nhất bằng ajax (ok)

C:\xampp8\htdocs\plugindev\routes\web.php

C:\xampp8\htdocs\plugindev\app\Http\Controllers\PostController.php

C:\xampp8\htdocs\plugindev\resources\views\posts.blade.php

Example 2. cmstest.com

C:\xampp8\htdocs\marinesTeam26CMS\app\Models\Tag.php

C:\xampp8\htdocs\marinesTeam26CMS\database\migrations\2022_12_09_022743_create_tag_table.php

C:\xampp8\htdocs\marinesTeam26CMS\database\factories\TagFactory.php

C:\xampp8\htdocs\marinesTeam26CMS\app\Http\Controllers\TagController.php

C:\xampp8\htdocs\marinesTeam26CMS\resources\views\templates\apps.blade.php

C:\xampp8\htdocs\marinesTeam26CMS\resources\views\page\tag.blade.php

Last updated

Was this helpful?