How detect modified repeater item in Laravel?
Clash 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.
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.
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