Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Releases: basvandenberg/ng-select

1.0.0-beta.3

11 Feb 18:41
Compare
Choose a tag to compare
1.0.0-beta.3 Pre-release
Pre-release

Breaking changes

  • Empty multi-select returns empty array as value instead of empty string (#104).

Features

  • Trigger noOptionsFound event if no options found after filter (#73).

Bug fixes

  • Same placeholder styling single and multiple select (#67).
  • Prevent selecting option if filter shows 'No results found' (#74).
  • Update value after deselecting options that are not present in updated list
    of options (#75).
  • Fixed test if new value is different from current value (#76).
  • Fixed key handlers, prevent selecting multi-select option when pressing space
    key (#78).
  • Hide clear button when nothing is selected (#90).
  • Remove padding above option list if filter is disabled (#98).

Improvements

  • Throw TypeError when trying to set a non-string or non-Array value.
  • For empty multiselect, return empty array instead of empty string (#104).
  • Don't force color/highlight styles when not directly set (#97).

1.0.0-beta.1

08 Jan 16:20
Compare
Choose a tag to compare
1.0.0-beta.1 Pre-release
Pre-release

Bug fixes

  • Removed accidentally included console.log's in published npm package. (#64).

1.0.0-beta.0

07 Jan 11:05
Compare
Choose a tag to compare
1.0.0-beta.0 Pre-release
Pre-release

Breaking changes

  • Changed styling, Sass stylesheet for select and dropdown component instead of the original select2 CSS file.

Features

  • Set background color and text color of highlighted option (#61).
  • Set width of select component with ngStyle (#59).
  • Hide filter if number of options is less than given number (#44).
  • Set custom text for 'No results found' (#9).
  • Functions open and close to open/close drop down from ts (#43).
  • Disable select component.
  • Clear selection function.

Improvements

  • Switched from using npm to yarn for package management.
  • Call onTouched when focus on select component (#24).
  • Added demo page with examples.
  • Simplified HTML structure with more intuitive classes.
  • Moved logic to separate option and option-list classes.

Bug fixes

  • Greyed out placeholder text for singe select (#48).
  • Close all drop downs on click outside, close drop down when pressing tab key (#58).

1.0.0-alpha.12

17 Oct 19:16
Compare
Choose a tag to compare
1.0.0-alpha.12 Pre-release
Pre-release

Breaking changes

  • The method clearSelected is changed to clear.

Bug fixes

  • Trigger deselected event on clear single select click (#23).
  • Typo fixes.

1.0.0-alpha.11

17 Oct 19:13
Compare
Choose a tag to compare
1.0.0-alpha.11 Pre-release
Pre-release
  • Update to Angular 2.1.0.

1.0.0-alpha.10

12 Oct 18:37
Compare
Choose a tag to compare
1.0.0-alpha.10 Pre-release
Pre-release

Bug fixes

  • Fix errors in package.json and tsconfig.json (#18).
  • Fix empty value multi-select, so that required validator works (#21).
  • Fix setting value of single select (#19).

Improvements

  • Set ViewEncapsulation to None to enable style override (#16).

1.0.0-alpha.9

05 Oct 11:50
Compare
Choose a tag to compare
1.0.0-alpha.9 Pre-release
Pre-release

Bug fixes

  • Fix gulp watch task.
  • Fix gulp build taks.
  • Fix tsconfig, and added types to compilerOptions.
  • Fix AoT build, made some variables public.

on 1.0.0-alpha.8.

01 Oct 15:49
Compare
Choose a tag to compare
on 1.0.0-alpha.8. Pre-release
Pre-release

Features

  • Added ngc/AoT support (#11).

Bug fixes

  • Fixed clear selection using form control's setValue function (#5).
  • Update current selection when option list is changed (#6).
  • Prevent javascript error when list of options is empty (#7).
  • Prevent javascript error when clicking the 'No results found' option (#8).