Skip to content

Commit 012f9cb

Browse files
author
Eunice Vassoa
committed
fix
1 parent 5ce7bec commit 012f9cb

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Diff for: CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 1.6.1 - [02-05-2023]
2+
3+
### Added
4+
* Added `maintainSearchTextOnFocusLost` parameter. Now you can decide if the text inside the searchbox will be maintained even after searchbox is closed
5+
6+
### Fixed
7+
* Added `validator` parameter. Now you can validate the autocomplete field inside a form
8+
* Added `progressIndicatorBuilder` parameter. Now you can add a custom progress indicator to be used in async suggestions fetch
9+
110
## 1.6.0 - [23-06-2022]
211

312
### Added

Diff for: lib/easy_autocomplete.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ class _EasyAutocompleteState extends State<EasyAutocomplete> {
196196
}))));
197197
}
198198
if (!_hasOpenedOverlay) {
199-
Overlay.of(context)!.insert(_overlayEntry!);
199+
Overlay.of(context).insert(_overlayEntry!);
200200
setState(() => _hasOpenedOverlay = true);
201201
}
202202
}
203203

204204
void closeOverlay() {
205205
if (_hasOpenedOverlay) {
206206
_overlayEntry!.remove();
207-
setState(() {
207+
setState(() {
208208
_hasOpenedOverlay = false;
209209
});
210210
}

0 commit comments

Comments
 (0)