ui-select2 icon indicating copy to clipboard operation
ui-select2 copied to clipboard

Fix updating view after programmatic changes

Open ravishivt opened this issue 11 years ago • 3 comments

Use timeout to render view after programmatic changes to the model.

ravishivt avatar Jun 05 '14 18:06 ravishivt

+1

CharlesHamel avatar Sep 18 '14 19:09 CharlesHamel

This works, thank you!

Splaktar avatar Sep 30 '14 16:09 Splaktar

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' } ].

Splaktar avatar Nov 12 '14 16:11 Splaktar