Livewire: Dynamic Form with Add/Delete Row and More

preview_player
Показать описание
A new 32nd component on my Livewire Kit: a form with add/delete row, and also changing Textarea value based on the other field value. In this video, I'm showing all the code.

- - - - -
Support the channel by checking out our products:
Рекомендации по теме
Комментарии
Автор

Amazing. This is exactly what I need right now. Only that mine is to be used to allow user to create custom forms.

The user selects and option: text, textarea, dropdown, or file upload. The user can select if it’s required or now and finally set options for drop downs.

And then the form and options are rendered in the front end.

jekayode
Автор

Brilliant! I actually struggled to create a similar task back in 2014. And back then Laravel wasn't as popular as it is now. Can't even remember how I got it right

CHSKnight
Автор

This is exactly what I have been looking for. I purchased your livewire kit just for this component. How do you edit rows after they have been created while still been able to add more rows?

nathanwatts
Автор

Hello, I tried implementing your tutorial in my laravel livewire, it's working when creating from fresh, but when editing the button add is not launching and there's no error message.

ngebolangria
Автор

This is exactly what I’ve been trying to complete on my form, however in my form the options for drop down are in the thousands. So drop down or select are too great to load initially in mount. I need the user to type and search for the item instead of doing a select option. How would you approach that. If you don’t mind me asking.

AlexSanchez-hyvs
Автор

Assuming you save this and want to edit it. How do you load existing record and add more rows ?

sunusimohdinuwa
Автор

Thnx for the tutorial but my question is, is there any where I can add logic in the data being retrieved for example conditions being its being displayed using Ajax jquery because I saw that it's possible with livewire but am more in jquery

mugerwaobadiah
Автор

Add summernote in livewire and insert data into database

najmuddinansari
Автор

this select can use select2 or tom-select?

duzkanimation
Автор

what about changing textArea with a dropdown list with dependent selected values?

MrMazen
Автор

How could we make a select multiple on a many with livewire relation? Example: A product in many categories, and fill this data in the multi select with all selected categories.

elyunterim
Автор

As i know @csrf is not required for livwire 2 onwards

zaster
Автор

How about tinymce editor will it work .

vidhyaprakash