Repeater reorder not working in a repeater with nestedform
Winter CMS Build
1.2
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
Winter.Sitemap, Winter.Pages, Winter.TinyPNG, Winter.Translate, Winter.Redirects, Aic.Globals, Aic.ExtendWinterPages, Aic.Blog, Aic.Team, Aic.Account, Aic.Contact, Aic.Invoice, Aic.Discount, Aic.Aftersales, Aic.Reviews, Aic.Faq, StudioBosco.BackendNotifications, StudioBosco.BackendComments, ...
Issue description
When reordering repeater items, in a repeater, in a nested form (repeater(groups) > nestedform > repeater > item), items are reordered but saving them does not take any effect.
Below a simplified codeblock 👇
block_gallery:
name: Gallery
icon: icon-camera-retro
fields:
data:
type: nestedform
usePanelStyles: false
cssClass: custom-nested-form
form:
tabs:
fields:
images:
tab: Images
type: repeater
form:
fields:
image:
label: Image
type: mediafinder
mode: image
☝️ Note that when reordering the images.image (with the default drag handles on the repeater field), the items are reordered, but saving does not save the new order.
block_gallery is located in a repeater with groups

Edit: Reordering the items work fine in StaticPages (using the same yaml code), not in my custom blog plugin
Steps to replicate
- Create a plugin using a repeater with groups
- Link the repeater with groups to the yaml above
- Try reordering your items in the nestedform repeater
- Save
- Refresh (or look at your frontend page)
- Check and see that your change did not take any effect
Workaround
I'd love any workaround, if anyone has any suggestions, please let me know!