processwire / processwire-requests

ProcessWire feature requests.
40 stars 0 forks source link

Ability to edit selected repeater item in a modal #539

Open jlahijani opened 2 months ago

jlahijani commented 2 months ago

Currently, to edit a repeater item, you click the repeater item which expands and presents the fields. This works well, but there are situations where when editing many items, the page becomes too long, especially if each repeater item has a lot of fields.

It would be nice to have an option to allow editing a repeater item in a modal, similar to the way it works in PageTable. So when you click the repeater item, instead of expanding it, it would show a modal.

Obviously, it may have to refresh the list of repeater items after the modal is closed to update the repeater item labels and such (or if the item that was being in the modal was deleted, not show it anyway... a refresh to update the state of the repeater items all together, similar to PageTable as well).

It would be important that this works with nested repeaters as well, again similar to PageTable.

jlahijani commented 2 months ago

Related to this, if not using a modal as I proposed, it would be nice if there was way to save a repeater item without having to save the entire page. Also a way to refresh a repeater field without having to refresh the entire page.