powmedia / backbone-forms

Form framework for BackboneJS with nested forms, editable lists and validation
MIT License
2.17k stars 415 forks source link

Bug #525 - optimise rendering of select options. #528

Open glenpike opened 7 years ago

glenpike commented 7 years ago

As per fix, push each rendered element into an array which we then pass to $.fn.add in one go - more efficient. Add test to ensure that add only gets called once.

midnightcodr commented 7 years ago

This fix works great. Hope the pull request got approved soon.