ghiscoding / Aurelia-Bootstrap-Plugins

Aurelia-Bootstrap-Plugins are Custom Elements to bridge with a set of 3rd party Bootstrap addons
https://ghiscoding.github.io/Aurelia-Bootstrap-Plugins
MIT License
45 stars 23 forks source link

Current selection reset on collection update even if selection is still valid for updated selection #72

Closed Mobe91 closed 5 years ago

Mobe91 commented 5 years ago

PR https://github.com/ghiscoding/Aurelia-Bootstrap-Plugins/pull/62 prevents the current selection to diverge from the underlying collection by always rendering the pre-selection on collection change. However, this resets the currenty selection even if it is still valid for the updated collection. The rendering of the pre-selection should be prevented in this case.