Livewire 3 CRUD with Modal and Form Objects

  Рет қаралды 20,517

Laravel Daily

Laravel Daily

Күн бұрын

Пікірлер: 40
@StefanKressCH
@StefanKressCH Жыл бұрын
I still don't get why most tutorials use some custom implementation of modals instead of using the element. The biggest issue with s is, that child modals would live inside it - with all the mess of teleporting or being restricted by inner sizes. is acting as a 'regular' application feeling with no hassle. i have rewritten the jetstream modal for this purpose and it works like charm. if anyone is interested, let me know - probably there is still room for improvement.
@matthewmiranda4227
@matthewmiranda4227 7 ай бұрын
Can we get the repo for that good sir?
@danyalvarez6282
@danyalvarez6282 9 ай бұрын
el product-form tengo que crearlo??, ya que con los comando no se crea automáticamente
@Mursalsadatat
@Mursalsadatat Жыл бұрын
Hi, How can I pass a hidden filed input in Laravel Livewire?
@arischannel8168
@arischannel8168 Жыл бұрын
Better than use custom modal or require component modal like on this video ?👀👀
@sigalzahavi1296
@sigalzahavi1296 Жыл бұрын
Thank you for this tutorial. I started using modals on my new laravel 10 livewire 3 project. My issue is that when the modal opens the user needs to click on the first input field. It does not focus on the field automatically and that's annoying. Am I doing something wrong or is that just how it works?
@albertabraham99
@albertabraham99 Жыл бұрын
Hi Sir, what a recomendation for table in livewire? Can yajra use in livewire?
@LaravelDaily
@LaravelDaily Жыл бұрын
I would recommend using Filament tables, you can use them outside of Filament, too
@ethanbenjamin9468
@ethanbenjamin9468 11 ай бұрын
How do I call the modal without using the button. I mean from class component. Probably after doing some logic and want to display the result on modal
@Shiv-vb1re
@Shiv-vb1re 10 ай бұрын
Use js and add a event listener
@MateuszSerwinowski
@MateuszSerwinowski Жыл бұрын
Hi, great material. I'm just wondering how to create more advanced forms when in addition to the basic product data there is a relationship between other tables like several prices or product sizes.
@LaravelDaily
@LaravelDaily Жыл бұрын
I have quite a few of such examples in my Livewire Kit: livewirekit.com/
@saeeedkhan
@saeeedkhan Жыл бұрын
When we will watch TDD for this video tuts?
@LaravelDaily
@LaravelDaily Жыл бұрын
When more people ask for TDD tutorials. For now as long as I released something about TDD, the videos had very low viewership rate.
@MaazDev1
@MaazDev1 Жыл бұрын
Hi. How can we show the pop-up automatically on page load in Livewire 3? I want to show some important reminders to specific users in their dashboards. Thank you in advance.
@LaravelDaily
@LaravelDaily Жыл бұрын
Personally, I wouldn't show pop-up automatically, it's a very bad UX practice, in my opinion. Send emails instead or show some notification on top as alert with bold/color. But not pop-up.
@MaazDev1
@MaazDev1 Жыл бұрын
@@LaravelDaily Yes, you are alright. I already communicated with the client about this, but he said to use the pop-up. It is basically to show the daily reminders to managers in their dashboard using a pop-up e.g. Manager 1, you have the meeting with client on 3rd October. When the manager opens his dashboard on 3rd Oct, then pop-up will show the reminder text.
@krekas
@krekas Жыл бұрын
@@MaazDev1 I assume you are using Livewire so in the mount method add whatever is needed
@MaazDev1
@MaazDev1 Жыл бұрын
@@krekas Yes. I think I have done this. Thank you for your help and valuable suggestions.
@MarijanKopcic
@MarijanKopcic Жыл бұрын
This is great, thanks for the tips. IMHO too much hustle for s simple modal :)
@roberttudor_
@roberttudor_ Жыл бұрын
I noticed that the Form object does not make use of Livewire's newest features like Attributes or filling the properties from the model to the form using the fill() method. Was this a deliberate choice? In cases where there are only a couple of attributes, may be simple, but once the number of properties get to a bigger number it may become cumbersome to maintain.
@LaravelDaily
@LaravelDaily Жыл бұрын
It's a personal preference. On this channel, I already had a few videos discussing new Livewire 3 features and pros/cons.
@krekas
@krekas Жыл бұрын
In this tutorial there is also a unique rule which doesn't work with attributes.
@DarwinBueno-pv7hn
@DarwinBueno-pv7hn 10 ай бұрын
Puede hacer un update con tomselect o Select2
@reelsergealain
@reelsergealain Жыл бұрын
I really love your work, but can I suggest some examples of projects I want us to do together?❤
@LaravelDaily
@LaravelDaily Жыл бұрын
Define "together". Currently I'm not looking to expand my team and hire more developers. I do accept project ideas for future videos, but they should be based on how much useful they would be to larger group of developers, not an idea for a single individual project/problem.
@DeTechDivus
@DeTechDivus Жыл бұрын
@@LaravelDaily could be messy but some some open source community based project where we would have list of 300+ tasks and random people choose random tasks to work on?
@LaravelDaily
@LaravelDaily Жыл бұрын
I don't have to MANAGE such "mess", unfortunately :) but if anyone starts something like this, I would be happy to spread the message
@leGeekDuSEO
@leGeekDuSEO 7 ай бұрын
Unable to call component method. Public method [$emit] not found on component
@LaravelDaily
@LaravelDaily 7 ай бұрын
In Livewire 3, the method emit() is renamed to dispatch().
Жыл бұрын
Thanks, thanks, thanks.
@DarkVictor_
@DarkVictor_ Жыл бұрын
❤ Its amazing
@JamesAutoDude
@JamesAutoDude Жыл бұрын
The question is... To use modal or not to use modal 😢
@LaravelDaily
@LaravelDaily Жыл бұрын
Personally, I'm not a big fan of modals. But for such simple 2-field forms, totally fine :)
@JamesAutoDude
@JamesAutoDude Жыл бұрын
@@LaravelDaily ah I see so maybe for small amounts of input but otherwise a whole new page is best 😎
@LaravelDaily
@LaravelDaily Жыл бұрын
It's a personal preference, in general
@MarkSnape
@MarkSnape Жыл бұрын
Hi Povilas. Please try and differentiate pronunciation between Model and Modal "mowdal". I see a lot of confusion between these two words by non-native english speakers and often typing of model when they mean modal. Not meaning to be critical when you bring so much to the community
@LaravelDaily
@LaravelDaily Жыл бұрын
I'm actually having trouble with it myself, was thinking about exact same words the other day. But even if I do as you suggest, I don't think that "mowdal" would be that much clearer. Maybe I should make an emphasis like "mowdAl". Will keep an eye (tongue) on it.
@MarkSnape
@MarkSnape Жыл бұрын
@@LaravelDaily perhaps pronounce it as if two words mow dal ?
@martin.j.osborne
@martin.j.osborne Жыл бұрын
@LaravelDaily 'Modal' is pronounced "mow" (as in mow the lawn) -"dəl" (where ə is a schwa, like the first and last syllables of "banana" as pronounced by a native speaker). "Model" is pronounced "mod" (as in the first syllable of 'modern') -"əl". In both cases the stress is on the first syllable. Or perhaps an easier way to explain it is: 'modal' rhymes with 'yodel', and 'model' rhymes with 'coddle'.
Got a New Laravel Job? 3 Tips to Analyze Project Codebase Fast
7:23
Laravel: Avoid Try-Catch In Every Method (What To Do Instead)
4:45
Laravel Daily
Рет қаралды 35 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 4,6 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 126 МЛН
Livewire 3 Validation: Form Objects, Attributes, and Rules
10:14
Laravel Daily
Рет қаралды 7 М.
Global Modals with Livewire and Alpine.js
18:11
Codecourse
Рет қаралды 15 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 51 М.
The Laravel Ecosystem - Volt ⚡
6:09
Laravel
Рет қаралды 10 М.
[Live-coding] Laravel Livewire: Parent-Child Form Example
17:08
Laravel Daily
Рет қаралды 90 М.
4 Tips for Dev Productivity (I've tried many techniques...)
9:01
Laravel Daily
Рет қаралды 4,1 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 4,6 МЛН