You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typeaheads: export typeahead utils and hide placeholder on multiple selection (#129)
This PR aims to:
1- export typeahead utils and debounce hook
2- fix placeholder on both static and async typeahead: the expected
behavior is to hide the placeholder when at least one option has been
selected
3- adjust a bit the typescript on the typeahead helpers, since types
should not be mixed
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Changed
11
+
12
+
- Export typeahead helpers and `useDebounceHook` hook.
13
+
14
+
### Fixed
15
+
16
+
- Hide placeholder on multiple `AsyncTypeAheadInput` and `StaticTypeAheadInput` when at least one option is selected.
17
+
- Typeahead helpers return type from `TypeaheadOption[]` to `TypeaheadOptions`, since typeaheads are not intended to be used with mixed `string` and `LabelValueOption` options.
0 commit comments