@@yelocode brother currently i am try but facing error "Property type not supported in Livewire for property", i tried everything but not working when i use paginate(), it gives me error
hi there thanks for the course , i faced an issue which is the design for the pagination is not working I don't know way i changed the the "pagination_theme" in config/livewire.php file to 'pagination_theme' => 'tailwind', but nothing change also i set the AppServiceProvider and add the line bellow to the boot() method use Illuminate\Pagination\Paginator as PaginationPaginator; public function boot(): void { PaginationPaginator::useTailwind(); } if someone have i solution or can help me
Hey man, just wanted to thank you for this course. Its incredibly helpful for me as a uni student in his last year, since my main project will be in Laravel. Only one thing which I can't wrap my head around and maybe you explain it in later videos, but when I send a registration form like this in the videos, on the network tab(f12) it displays the typed in password which is a huge security error. It also doesn't matter if I put @method('post') inside the form. Could you please explain how to solve this issue?
Thanks for watching. Glad to hear the videos are helpful. That is the expected behavior when you are inspecting the network request on the client side, if you try this on any other website like youtube, instagram or x you will also be able to see your password in plain text in the network tab. The developer tools just captures the request before it's transmitted so you can see the entire request in plain text format. As long as your website is using https with a valid ssl certificate, the request is encrypted when leaving the browser so the password won't be visible to anyone except the backend server. If you want to see the difference between http and https on how the request / password looks, you can use a tool like wireshark to see how the request looks from your ISP or any other person siting between the client and your server. This video might be helpful to see the difference : ruclips.net/video/MXhv-75C-w0/видео.html
Hi, my data is not updating in at backend in php file it's new data, somehow it's not reaching the front end, after clicking the page button or next or prev, it just remains the same...
Ola, não sei se aconteceu com mais alguém, mas quando se esta na paginação maior que 1, exemplo 2, 3 ou superior, ao tentar excluir um registro ele não pega o id daquela linha que foi clicada, acaba pegando das primeiras linha da tabela ou da pagina 1. Se alguem souber como resolver, ou saber se é Bug.
I used google translate, but I think the solution to your problem is adding wire:key with a unique value to the items inside the loop. I cover this in the crash course video at 14 min mark ruclips.net/video/gFeeVyJQeBc/видео.html
Sorry I hadn't seen this video, it was still in the sequence of the other playlist, but your videos are excellent, thank you very much. congratulations@@yelocode
Thanks so much for the video. But I am having an issue, when I change page the validation gets trigger. I have doing same as you are showing. saying email field is required password is required, I am just changing page.
Thank you for watching. At the time of this video there was a bug in livewire, what is happening for you is the expected behaviour. I think the bug was fixed recently, if you like to use the annotation syntax need to do it like below to disable auto validation on every request. #[Rule('required|min:3', onUpdate: false)]
So seems like you still need to call $this->validate() in the latest version. but you can disable the auto validation with something like below if it's causing issues. #[Rule('required|min:3', onUpdate: false)] The github discussion tab about this issue: github.com/livewire/livewire/discussions/6157
No I haven't experienced that issue, maybe one of your javascript dependencies is having issues with livewire? it could also be a bug in livewire 3 since it's still in beta
Will very likely cover that in future videos. will reply to this comment when I upload it. But the process would be similar to updating any other field just need to update your validation rule to something like this : 'email' => ['email', 'max:255', Rule::unique(User::class)->ignore($this->user()->id)]. This will ignore the email of the user you are updating.
Please heeelp! I have no idea how to handle events in livewire like for example closing a form inside a modal after submitting it! The damned thing just stays there =(
You probably could use alphine js to close it or send a browser event if you want to close. I will make a video about modals will livewire as well. Will reply to your comment when the video is out.
I'm just doing the pagination part using livewire 3. Then you published a video for it❤. Thank you very much.
Great to hear, perfect timing :). Thank you for watching
@@yelocode brother currently i am try but facing error "Property type not supported in Livewire for property", i tried everything but not working when i use paginate(), it gives me error
Really bro it's too helpful series keep it up
Thank you, I will
Very helpful, thank you bro!
thanks for the series man
Thanks for watching.
Thank you for your video. I have do this but i am facing a problem. when i click 2nd page or next page the page is not change how to fixed it?
Thank you
Thank you for watching
Amazing tool and amazing videos! I would love to see your courses on Udemy I would by many of them =)
Thanks you :)
hi there thanks for the course , i faced an issue which is the design for the pagination is not working I don't know way i changed the the "pagination_theme" in config/livewire.php file to
'pagination_theme' => 'tailwind',
but nothing change also i set the AppServiceProvider and add the line bellow to the boot() method
use Illuminate\Pagination\Paginator as PaginationPaginator;
public function boot(): void
{
PaginationPaginator::useTailwind();
}
if someone have i solution or can help me
very useful
Glad to hear that :)
Hey man, just wanted to thank you for this course. Its incredibly helpful for me as a uni student in his last year, since my main project will be in Laravel.
Only one thing which I can't wrap my head around and maybe you explain it in later videos, but when I send a registration form like this in the videos, on the network tab(f12) it displays the typed in password which is a huge security error. It also doesn't matter if I put @method('post') inside the form.
Could you please explain how to solve this issue?
Thanks for watching. Glad to hear the videos are helpful.
That is the expected behavior when you are inspecting the network request on the client side, if you try this on any other website like youtube, instagram or x you will also be able to see your password in plain text in the network tab. The developer tools just captures the request before it's transmitted so you can see the entire request in plain text format.
As long as your website is using https with a valid ssl certificate, the request is encrypted when leaving the browser so the password won't be visible to anyone except the backend server.
If you want to see the difference between http and https on how the request / password looks, you can use a tool like wireshark to see how the request looks from your ISP or any other person siting between the client and your server.
This video might be helpful to see the difference : ruclips.net/video/MXhv-75C-w0/видео.html
I understand now, thank you very much! :)@@yelocode
Why does the pagination button only show 'pagination.previous' and 'pagination.next' in mobile mode?
thanks bro
Hi, my data is not updating in at backend in php file it's new data, somehow it's not reaching the front end, after clicking the page button or next or prev, it just remains the same...
👍
when use pagination validation form is run after click anthor page
Ola, não sei se aconteceu com mais alguém, mas quando se esta na paginação maior que 1, exemplo 2, 3 ou superior, ao tentar excluir um registro ele não pega o id daquela linha que foi clicada, acaba pegando das primeiras linha da tabela ou da pagina 1. Se alguem souber como resolver, ou saber se é Bug.
I used google translate, but I think the solution to your problem is adding wire:key with a unique value to the items inside the loop. I cover this in the crash course video at 14 min mark
ruclips.net/video/gFeeVyJQeBc/видео.html
Sorry I hadn't seen this video, it was still in the sequence of the other playlist, but your videos are excellent, thank you very much. congratulations@@yelocode
Thanks so much for the video. But I am having an issue, when I change page the validation gets trigger. I have doing same as you are showing. saying email field is required password is required, I am just changing page.
So it was may be due to PHP version replacing the new #[Rule()] with $this->validate([]) worked fine.
Thank you for watching.
At the time of this video there was a bug in livewire, what is happening for you is the expected behaviour. I think the bug was fixed recently, if you like to use the annotation syntax need to do it like below to disable auto validation on every request.
#[Rule('required|min:3', onUpdate: false)]
Thank you for bringing it up to my attention. I will have to remake this video to avoid confusion for other people
So seems like you still need to call $this->validate() in the latest version. but you can disable the auto validation with something like below if it's causing issues.
#[Rule('required|min:3', onUpdate: false)]
The github discussion tab about this issue:
github.com/livewire/livewire/discussions/6157
Hi again. Did you notice the vite and livewire 3 pagination issue. Url page numbers change but data records not change.😢
No I haven't experienced that issue, maybe one of your javascript dependencies is having issues with livewire? it could also be a bug in livewire 3 since it's still in beta
can you do an update with a unique field, e.g. email? 🙏
Will very likely cover that in future videos. will reply to this comment when I upload it.
But the process would be similar to updating any other field just need to update your validation rule to something like this : 'email' => ['email', 'max:255', Rule::unique(User::class)->ignore($this->user()->id)]. This will ignore the email of the user you are updating.
Please heeelp! I have no idea how to handle events in livewire like for example closing a form inside a modal after submitting it! The damned thing just stays there =(
You probably could use alphine js to close it or send a browser event if you want to close. I will make a video about modals will livewire as well. Will reply to your comment when the video is out.
@@yelocode Thanks dude!
The Modal video is out, hope it's helpful : ruclips.net/video/ZQJhabcophk/видео.html
@@yelocode Thank you!!!