Releases: CuppaLabs/angular2-multiselect-dropdown
Releases · CuppaLabs/angular2-multiselect-dropdown
Lazy load data from API on scroll & Select one group at a time
- Lazy load data from remote API on scroll. Refer documentation.
- Select one group at a time, when groupBy is enabled.
- bug fixes.
GroupBy / Lazyloading / Virtual Scroll filtering Issues and Build Error Fix
- GroupBy with virtual scrolling and lazyloading.
- GroupBy filtering featurechange.
- Build errors fix
Upcoming changes
a) Remote Data API - Lazy loading and virtual scroll.
b) Select one group at a time.
Themes and Default theme and bug fixes
- From v3.0.0 onwards you need to add 'default.theme.css' file in angular-cli.json or angular.json, to render styles.
- Refer to documentation to know more about the theming and themes.
- You can create your own themes from now on. Refer to
default.themes.scss
in repository. - GroupBy filter big fix
Search filter select all feature & bug fixes
- New feature - 'Select all search results'
- clear search filter input using cross icon.
- Focus on dropdown on tab button in form.
- show and hide checboxes.
- hide select all when list is empty
- for 'single selection' mode
- bug fizs
Custom Search API - Search filter algorithm - new feature
Major features in this release with v2.9.0
- Custom Search API - The search box can be templatized and custom API search can be implemented.
- Filter algorithm update - The search filter can be configured to search only required properties in the list item.
- Removed font awesome dependency - The icons used in the dropdown are svg icon images from now on.
New configuration properties
- searchBy
- noDataLabel
Example demos for the above changes
custom search - https://cuppalabs.github.io/angular2-multiselect-dropdown/#/customSearchAPI
searchBy - https://cuppalabs.github.io/angular2-multiselect-dropdown/#/customSearchAPI
New features - list position and custom id property name
New features in this release
- Position of the dropdown list can be configured to 'top' or 'bottom'.
- Custom property in place of 'id' as primary key of the object in list. Default is 'id'.
Refer documentation for further information.
Bug fixes on dynamic data rendering
- Dynamic data rendering bug fix, when dropdown closed.
- Added examples to render "multiple dropdowns in one page" and "loading dynamic data from service"
Custom label property setting and bug fixes
New feature
Custom property name instead of default 'itemName'. Settings object has new propert 'labelKey' to be configurable
Bug fixes
- iPhone - close dropdown on click outside
- Search box does not clear when exiting dropdownlist when lazy loading is enabled.
- mesh search filter - Filter all properties in a dropdown item instead of only 'itemName'
Custom template for selected item Badge
New feature
Custom html for the selected item badge. Can use different item property names.
Lazy loading and css fixes
Lazy loading feature - To handle large data sets.
CSS fixes
Disable and enable mode changes fix.