Open alainjlavoie opened 5 years ago
same question!
Hey man !! I Fixed this bug in a fork on my repository => https://github.com/kurybr/jquery.repeater
Chào bạn !! Tôi đã sửa lỗi này trong một đợt fork trên kho lưu trữ của mình => https://github.com/kurybr/jquery.repeater
I Have tested and not work.
Hi, I have a releater with a select , textbox and button. When switching in the UI languages I update the repeater template with the proper strings then call $('#MyRepeater').Repeater({ initEmpty: true });
When calling .Repeater() a second time, the internal representation of the existing template from the first language is not removed and the second call adds the template in the new language. When clicking on the Add button, I get two rows, one in the first language and 1 in the second language. Is there a way to destroy the repeater's internal state so we could initialize it multiple times with new a new template?
Thanks for the great work, very useful plugin :) Cheers/Alain