All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Highlighted suggestion in controller
- force refreshing suggestions with
SuggestionsController.refresh
- suggestionsCallback getting called even when closed
- Returning null from
suggestionsCallback
hides the box showOnFocus
parameter forTypeAheadField
to allow not showing the box on focusgainFocus
paramater forSuggestionsController.open
to allow opening the box without focusing
- Upgraded flutter_keyboard_visibility: ^5.4.1 to ^6.0.0
- Upgraded pointer_interceptor: ^0.9.3+6 to ^0.10.0
- dispose error in suggestions search
- SetState error in suggestions box
- Custom
TextField
builder via thebuilder
property, replacingTextFieldConfiguration
decorationBuilder
property for customizingSuggestionsBox
decoration- Suggestions state (items, loading, error) in
SuggestionsController
- Streams in
SuggestionsController
for notification of selected suggestions
- Renamed
SuggestionsBoxController
toSuggestionsController
- Renamed
layoutArchitecture
tolistBuilder
- Renamed
noItemsFoundBuilder
toemptyBuilder
- Renamed
onSuggestionSelected
toonSelected
- Renamed
suggestionsBoxVerticalOffset
tooffset
, now including horizontal offset - Renamed
hideSuggestionsOnKeyboardHide
tohideWithKeyboard
- Renamed
keepSuggestionsOnSuggestionSelected
tohideOnSelect
and inverted its functionality - Renamed
keepSuggestionsOnLoading
toretainOnLoading
SuggestionsBoxDecoration
, replaced bydecorationBuilder
TextFieldConfiguration
, replaced by customTextField
builderCupertinoSuggestionsBoxController
in favor ofSuggestionsController
TypeAheadFormFiled
, replaced by customTextField
builderintercepting
parameter (now always true)onSuggestionsBoxToggle
parameter (replaced with subscriptions toSuggestionsController
)ignoreAccessibleNavigation
parameter (no longer required with newOverlay
code)animationStart
parameter (use animation mapping)minCharsForSuggestions
parameter (implement in client code)autoFlipListDirection
parameter (uselistBuilder
)
- General cleanup of the codebase (#523)
expands
property to TextFieldConfiguration (#512)scrollbarAlwaysVisible
argument (#512)
ignoreAccessibleNavigation
flag to prevent non-selection bug (#512)
itemSeparatorBuilder
to MaterialTypeAheadFormField
(#500)
- Issue with scrollbar click-through (#494)
- Mouse events propagating through the
SuggestionBox
to the underlyingHTMLElementView
(#495)
- Support for alternative layouts of results, such as Grid (#493)
itemSeparatorBuilder
option (#489)autofillHints
properties (#489)
- Removed top padding on scrollbar (#489)
onTapOutside
callback to typeahead (#486)- Placeholder style customization (#485)
autoFlipMinHeight
option (#468)
- Incorrect vertical offset calculation of suggestion box for Flutter mobile web (#484)
- Updated the changelog file
- Visibility of Cupertino decoration and formatted code
- Visibility of suggestions box classes
- Improved the main example for better readability on pub.dev
- Applied PR to fix
onSelected
issue introduced in Flutter 3.7.0
- Updated SDK level to 2.19.0 for Flutter 3.7.0
- Used
maybeOf
for scrollable to prevent exceptions in Flutter (#47)
onReset
callback toTypeAheadFormField
(#36)- Feature to block up and down keys (#35)
autoFlipListDirection
option (#31)
- Suggestions box behavior on web platforms (#32)
- Issues with web platforms and arrow keys (#28)
- Null safety to suggestions box controller (#09)
- Improved support for VoiceOver/TalkBack (#17)
- Key up and down features (#18)
hideKeyboardOnDrag
option (#22)
- Updated README with a pub.dev shield (#24)
- Warnings related to Flutter 3.0 (#95)
- Reverted previous fix for Flutter 3.0 warnings (#95)
- Issue of suggestions not hiding on close (#93)
- Warnings related to Flutter 3.0 (#95)
- Deprecated
maxLengthEnforced
property (#83)
- Resizing issue before opening the suggestion box (#60)
- Option for minimum number of characters before
suggestionsCallback
is called (#49) - Support for
textAlignVertical
(#44)
- Made
maxLines
nullable (#54) - Made some variables public (#47)
- Deprecated information in example (#47)
Scrollcontroller
as an optional parameter (#27)
- Display issues with
ErrorBuilder
Widget (#35) - Strong mode and type issues (#39)
- Support for Windows and MacOS by making
keyboard_visibility
optional (#33)
- File structure reorganization (#26)
- Scrollbar
ScrollController
issue (#25)
- Allowed
suggestionsCallback
to return null (#08)
- Missing size guard in
_adjustMaxHeightAndOrientation
(#03) - Issue with suggestions callback being called immediately (#06)
- Styling of CHANGELOG.md (#97)
autoFillHints
forTextFieldConfiguration
(#95)- Feature to check if the overlay is open (#94)
- Check for platform and run the correct example demo (#91)
- Various bug fixes, including null safety (#92)
- Cancel the debounce timer when widget is destroyed (#87)
- possible race condition with await (#85)
- Null-safety pre-release (#90)
- Opt into null-safety
- Re-applied changes from 1.9.2
- Types for some calls
- Reverted back to settings of 1.9.1; changes in 1.9.2 will be part of 2.0.0
- Removed unneeded typecasts and added String types (#267)
- Changed default setting to disabled for
autovalidateMode
and fixed typo (#256)
hideKeyboard
property to handle edge cases where text field has focus (#238)enabled
andautovalidateMode
properties (#248)enableSuggestions
to TextField Configuration (#249)
- Updated
flutter_keyboard_visibility
to version 4.X (#255)
- Fixed typos and updated validator tests and examples to remove deprecated constants
- Fixed
dispose()
error in tests
- Fixed "flashing" bug
- Updated
flutter_Keyboard_visibility
dependency to ^3.0.0
- suggestions box clip parameter
- Erratic suggestions callback behaviour
- Exception with cut/paste
- Addressed keyboard visibility issues (contribution from @alphamikle)
- Various issues
- Various issues
onTap
property toTextFieldConfiguration
offsetX
property toSuggestionsBoxDecoration
andCupertinoSuggestionsBoxDecoration
- Support for iOS 13 dark mode
- Switched from List to Iterable for flexibility
- Various issues
enableInteractiveSelection
property
- Updated
keyboard_visibility
dependency
- Scrolling bug
- Disposing overlay issue
onChanged
now properly triggers for TypeAheadFormField
CupertinoTypeAheadField
for Cupertino users
- Updated example project
- Various issues
suggestionsBoxController
property andSuggestionsBoxController
class for manual controltextDirection
property toTextFieldConfiguration
- Height issues of suggestions box in dialogs
- Width parameters in
BoxConstraints
are now respected inSuggestionsBoxDecoration
autoFlipDirection
property for automatic direction flipping of the suggestions list when space is limited
- Limited the number of
suggestionsCallbacks
until the current call is finished
- Optimizations
- Various issues
- Property
keepSuggestionsOnLoading
for maintaining suggestions during loading
- Suggestions box no longer shows circular progress indicator by default when loading
- Property
hideSuggestionsOnKeyboardHide
to control suggestions box behavior
- Suggestions box now closes by default when keyboard hides
- Width resizes properly on orientation changes
- Suggestions box displays above the keyboard for AxisDirection.Up
- FocusNode errors
- Keyboard height calculation errors
- Suggestions no longer called on TextBox focus
- Suggestions no longer called on TextBox focus
- Suggestions box resizes when scrolling
- Bug in
maxHeight
property
- Added properties
hideOnLoading
,hideOnEmpty
, andhideOnError
to hide the suggestions box
- Properties
hideOnLoading
,hideOnEmpty
,hideOnError
to control visibility of suggestions box
- Documentation for the
direction
option
- Types now work properly
- Property
direction
for controlling the growth direction of suggestions
- Contributing guidelines
- CHANGLELOG.md is now reverse sorted
- Various issues
hasScrollbar
property for optional scrollbar display
- Suggestion box no longer hides behind the keyboard
- Animations controller is now properly disposed
- Property
getImmediateSuggestions
to the form field implementation
getImmediateSuggestions
property for fetching suggestions before user input
- Added assertion to disallow simultaneous definition of
initialValue
andtextFieldConfiguration.controller
- Constraints property to the
SuggestionsBoxDecorations
allowing setting of the height and width of the suggestions box
- Mention of 'autocomplete' in README and pubspec
- Executed 'flutter format'
- More configuration properties to the
TextField
- Configurable vertical offset for the suggestions box
- Meta-tags to README for SEO
- "How you can help" section to README
- Suggestions box decoration
- Moved the
TextField
properties inside a class - Mechanism used to open/close the suggestions box
- Updated the GIF to show the changes
- Small issue in README
- CHANGELOG format
- Small issue in documentation
- Initial Release