Do I need laravel Collective to do form-model binding?
It seems that the form open, form model methods that used to be in laravel are no longer present, and need to be pulled in via laravel collective.
Can you do form model binding using regular HTML? Or, should I be doing this in Vue some way?
I have typical CRUD forms, create and edit sharing the same fields and looking to populate the edit fields automatically.
@mniblett , I tried doing this manually but I found that it quickly becomes cumbersome especially if drop-down lists or grouped lists are involved. Read link posted by @Snapey for implementation details.
Laracast videos/tutorials don't get into complex forms, and therefore usually choose the vanilla html route.
I invariably pull in laravelcollective/html when I have to deal with large forms. SelectRange, SelectMonth, SelectYear, Form macros/components and url helpers are really helpful bonuses too. Using laravelcollective simplifies form development (a LOT), and I consider it a "best practice" as it keeps my views clean.
Thank you everyone for your comments, they were all very helpful. @snapey and @gator thank you for adding your additional comments and insight, especially on the more complex form types.