cms
cms copied to clipboard
[5.x] Replicator "add set" button label option
Closes:
- https://github.com/statamic/ideas/issues/1032
- https://github.com/statamic/ideas/issues/28
This PR adds a simple text config option to the replicator field. The option is defaulted to empty so nothing about the default behavior changes.
It allows one to customize the labels like so:
Alternatively, I could change this so that it replaces the + icon entirely with the label. Similar to how the grid "add row" button works
Somehow the small "plus" buttons that are shown on hover between replicator fields are gone in the latest release (v5.6.0):
Could this be related to these changes somehow? I don't see any other replicator related changes in the release.
regards
@toxsick Do you have any javascript errors?
Somehow the small "plus" buttons that are shown on hover between replicator fields are gone in the latest release (v5.6.0):
Could this be related to these changes somehow? I don't see any other replicator related changes in the release.
regards
Figured it out, PR submitted
@toxsick Can you try updating to v5.6.1? It included #10217, which should have fixed it.
Hey guys, jeah as @jasonvarga suggested I was seeing js errors. Everything works again in v5.6.1 now. Thanks a lot!