-
Improvement
-
Resolution: Fixed
-
Normal
-
None
-
None
Select components in the UI are using select2 to provide various features over basic HTML select inputs, including ajax mediation for the entity search selects. However, react re-rendering the DOM causes select2 to lose its linked elements, forcing re-initialization of select2 on every component update. It should be replaced with a more react-friendly alternative.
The current prime candidate is react-bootstrap-select, due to its simplicity and integration with existing bootstrap components. It has no built-in ajax functionality, but we already bundle superagent, so this shouldn't be an issue.