Open ravishivt opened 10 years ago
+1
This works, thank you!
This breaks two of the unit tests across all browsers: Firefox 33.0.0 (Windows 7) uiSelect2 with an element updated the view when model changes with complex object FAILED Expected [ { id : '0', text : '0' } ] to equal [ { id : '0', text : '0' }, { id : '1', text : '1' } ]. Firefox 33.0.0 (Windows 7) uiSelect2 with an element simple_tags Updating the model with a string will update the select2 view model. FAILED Expected [ ] to equal [ { id : 'tag1', text : 'tag1' } ].
Use timeout to render view after programmatic changes to the model.