- Prevent $dirty flag on a form from being set to false on initialization
The code has been rewritten almost from scratch with a focus on code quality and testing. This will make future development easier and limit the number of bugs on the long term. Beware that regressions are likely!
- Built files are now wrapped in UMD
- Add unit tests, jshint and continuous integration
- Moved built files to
dist/
folder - Values set directly to $scope.model are no longer validated against the suggestions.
- Remove ambiguous "suggestionKey" parameter
- moved options not related to tt to top level
- renamed "editable" option to "allow-custom"
- Renamed events to match typeahead event names (see #82)
- Adds render event
- Removed the "all-events" binding, as the code didn't work.
- Fixes #71, #72 and #79, binds ALL typeahead events adds
require()
support.
- Adds typeahead.js v0.11.1 dependency
- Adds async event propagation (Thanks @powange)
- Fixes the Firefox "focus bug" (Thanks @CyborgMaster)
- Adds a watcher to the datsets and options and reinitializes if any changes are detected.
- Removes the event bindings as they should no-longer be needed due to the new way the ng-model is being updated.
- This is a potentially BREAKING CHANGE release.
- This adds initial support for two-way data binding.
- Adds a sanity check to the options object for the 'editable' property.
- Adds 'editable' option, to only allow model values from datum objects. (Thanks to @raphahardt)
- Retains cursor position, thanks to @skakri.
- Adds event propagation for all the other typeahead.js events.
- This is a BREAKING CHANGE release.
- Major new release that adds initial support for the new Twitter Typeahead v0.10.x release.
- As a direct result of Twitter's changes, two-way binding is no longer possible at this time (the directive cannot access any local datum lists & never could access remote lists).
- You can now update local datasets using
Bloodhound#add
and I have questioned whether a similar method could be added for datum removal.
- Merged in Jakob Lahmer's changes, which ensures that the typeahead events are propagated to the scope.
- Merged in slobo's changes, including a refactoring of the event methods and a slight hack around the [object Object] issue.
- Reverting previous change in v0.0.9 (return the datum object, not the string!)
- Added type check to the datum object, in-case the datum is a string that is implicitly converted.
- Bugfix for issue #10
- The fix should also support datums with non-default value keys.
- Now updates the ngModel with the raw user input.
- Optimization on the ngModel watch.
- Merged in @jmaynier's PR for supporting multiple datasets. (Thanks!)
- Renamed the angular module to
siyfion.sfTypeahead
. - Renamed the angular directive to
sfTypeahead
. - Added two-way binding support to ng-model.
- Added one-way binding support to ng-model.