How detect modified repeater item in Laravel?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How detect modified repeater item in Laravel?



I'm using this jquery plugin in my Laravel website and this is a repeater field plugin. I'm wondering how can I detect a edited or removed repeater item field in my edit post page so I can update or destroy that specific item in the database?! I'm asking this because names get reindexed dynamically by plugin if an item is removed.





Now that I think more, maybe I can do this by adding a hidden input with the value of item id for each repeater items.
– Ehsan Mousavi
Aug 12 at 7:18





1 Answer
1



I solved my problem by adding a hidden input with the value of item id for each repeater items.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS