Skip to content

Latest commit

 

History

History
175 lines (115 loc) · 8.99 KB

RELEASENOTES.md

File metadata and controls

175 lines (115 loc) · 8.99 KB

Release notes of ion-autocomplete

Version 0.4.0

Changes

  • Upgraded to Ionic 1.3.2 and Angular 1.5.3 - #189
  • Added open and close CSS class feature. Thanks to @nlarche for the pull request. - #221

Version 0.3.3

Changes

  • Several bugs are fixed.
  • New clearOnSelect option - #186
  • The maxSelectedItems option is now two way binded allowing for dynamic values - #140
  • Added a new property selectedItemsArray to the callback responses - #115

Version 0.3.2

Changes

  • A single selected item is not an array anymore with a single value - #115
  • The item repeat has been switched from collection-repeat to ng-repeat as there were some issues - #126

Migration notes

  • As part of the #115 issue when you now select a single value (maxSelectedItems=1) then the item is now returned as object and not as an array with one element. If you use a custom template, please also check the changes in the default template.

Version 0.3.1

Changes

  • Added the max-selected-items attribute to restrict the selected search items - #58.
  • Added the cancel-button-clicked-method attribute to be able to get notified when the cancel button is clicked - #63.
  • Added the external-model attribute to be able to prepopulate the selected items and to clear them programmatically - #66, #89.
  • Added the ability to pass the ng-model-options to the inner search input field - #91
  • Added the ability to initialize the search items within the items-method - #57

Migration notes

Version 0.3.0

Changes

  • Upgraded to Ionic 1.1.0 and Angular 1.4.3.
  • Fixed an issue with multiple ion-autocomplete directives on one page.
  • Prepared for Angular 2.0.
  • Upgraded project to use newest libraries.

Migration notes

  • As of version 0.3.0 the component does not support the element restriction anymore, such that you are just able to use the attribute restriction on all your elements. This means that you need to convert all <ion-autocomplete ... /> tags to the following tag: <input ion-autocomplete type="text" readonly="readonly" class="ion-autocomplete" autocomplete="off" ... />

Version 0.2.3

Changes

  • Add new model-to-item-method to be able to prepopulate the model. (See issue #25)
  • Fixed issue 'Feature: Loading icon' - #12.
  • Fixed issue 'Bug: Cannot pass in pre-populated model' - #25.
  • Fixed issue 'Bug: $http promise not working' - #27.
  • Fixed issue 'Bug: Item list from variable won't show first time you start typing' - #30.
  • Fixed issue 'Feature: No callback when items removed' - #32.
  • Fixed issue 'Bug: JS error when using with jQuery' - #34.
  • Fixed issue 'Feature: Display all items if query is empty' - #38.
  • Fixed issue 'Feature: Ability to pass in arbitrary data to pass to the template' - #39.
  • Fixed issue 'Feature: Autocomplete box should open on as well as click' - #43.

Migration notes

  • The query can now also be empty in the items-method and this could change the logic in your items-method. Please check #38 for more information.

Version 0.2.2

Changes

  • Fixed issue 'Model binding issue' - #14.
  • Fixed issue 'Upgrade to Ionic 1.0.0' - #15.
  • Fixed issue 'Cant display list in from query' - #16.
  • Fixed issue 'How can I call the auto complete form in the ng-click' - #18.
  • Fixed issue 'I cant get autocomplete to work in my project' - #21.
  • Fixed issue 'Add version table to documentation' - #22.
  • Fixed issue 'Ability to pass sort of id to the item-method' - #23.

Version 0.2.1

Changes

  • Fixed issue #5.
  • Fixed issue #6.
  • Fixed issue #8.
  • Fixed issue #10.

Version 0.2.0

Changes

  • Add the ability to select multiple items
  • Add ability to pass in a callback function when an item is clicked
  • Use collection-repeat instead of ng-repeat to improve the performance
  • Add the ability to use an own external template

Version 0.1.2

Changes

  • Fixed issue that the model was not shown if it was already populated
  • Add ability to use expressions in the value keys

Version 0.1.1

Changes

  • Fix release version

Version 0.1.0

Changes

  • Add promise support for the items method
  • Add items-method-value-key property to specify the value key of the data returned by the items method

Version 0.0.2

Changes

  • Initial release of ion-autocomplete