0

I am trying to add collection of input texts with add/delete buttons on admin block.

The problem is when I hit add button I get new 3 or 4 or even 5 new input fields instead of one!

The js function setup_collection_buttons called more than once hence attached more click events on HTML element .sonata-collection-add

Before clicking:

enter image description here

After:

enter image description here

Any Idea why ?

Community
  • 1
  • 1
Tareq
  • 5,283
  • 2
  • 15
  • 18

1 Answers1

0

It seems to be a bug. I filed issue against AdminBundle

Issue on github

Tareq
  • 5,283
  • 2
  • 15
  • 18