Skip to content

Commit

Permalink
fix: remove redundant onChanged(), prepare for 1.1.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nlfiedler committed Sep 23, 2023
1 parent 0dfcda6 commit 899d71c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This file follows the convention described at
[Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [1.1.3] - 2023-09-22
### Fixed
- Removed redundant call to `onChanged()` from `selectSuggestion()`.

## [1.1.2] - 2023-06-21
### Fixed
- sarbogast: fixed failure on web due to bug fix in previous release.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Edit your package's `pubspec.yaml` like so and then run `flutter pub get`:

```
dependencies:
choose_input_chips: ^1.1.2
choose_input_chips: ^1.1.3
```

### Import
Expand Down
1 change: 0 additions & 1 deletion lib/src/chips_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ class ChipsInputState<T> extends State<ChipsInput<T>> with TextInputClient {
setState(() => _suggestions = null);
_suggestionsStreamController.add(_suggestions);
if (_hasReachedMaxChips) _suggestionsBoxController.close();
widget.onChanged(_chips.toList(growable: false));
} else {
_suggestionsBoxController.close();
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: choose_input_chips
description: Build form fields with multiple values and text completion.
version: 1.1.2
version: 1.1.3
homepage: https://github.com/nlfiedler/choose_input_chips

environment:
Expand Down

0 comments on commit 899d71c

Please sign in to comment.