Closed aphotix closed 6 years ago
Is this patch ready - and do you feel like it was adequately tested?
All of the examples work identically with this update compared to the prior update; pull request #28.
The changes made to sm-core.js on pull request #28 did introduce a defect when using the setting 'useLabels: false' and angular 1.3.14. If you select an option it immediately clears the value. This does not occur if you use Angular 1.6.4 instead of 1.3.14, which may explain how it could have been missed.
Added a second conditional for dropdown used as navigation. Clear seems to strip the html out of the default text, reset does not. setting the dropdown model to false will now reset the dropdown programmatically when used as a menu without eliminating the option to clear the menu. Patch for #31