Closed johannes-bittner closed 4 years ago
Hm, I cannot confirm that. Which browser in which version?
Template: Console Chrome 84/85, Windows 10:
I had to create the template in the backend and to uncomment the two lines in order to have the icons displayed.
Ah, you copy & pasted the custom options of the README, which have this error. The default template looks like this: https://github.com/inspiredminds/contao-fieldset-duplication/blob/master/src/Resources/contao/templates/j_fieldset_duplication.html5
The error in the README is fixed now.
Very nice and useful extension!
When using the original javascript template ( j_fieldset_duplication.html5), the buttons are not shown and the console log says:
Uncommenting the lines 8/10 [buttonAdd: '+' / buttonRemove: '×'] solves the problem.