-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Autocomplete): add controllable isOpen, inputValue props; extend…
… text behaviour on item select (#2567) * feat(Autocomplete): add controllable inputValue prop; extend text behaviour on item select * refactor(Autocomplete): test * feat(Autocomplete): return clearAfterSelect and deprecate it * fix: useCombobox internally changes input value on blur * feat: extend ControlledFromOutside with new props
- Loading branch information
1 parent
56179a3
commit 51eb9f4
Showing
5 changed files
with
223 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@contentful/f36-autocomplete': minor | ||
--- | ||
|
||
Add new props: `textOnAfterSelect?: 'clear' | 'preserve' | 'replace'`, `isOpen?: boolean; onOpen?: () => void; onClose?: () => void`, `inputValue?: string` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
51eb9f4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
forma-36 – ./
v4.f36.contentful.com
forma-36.vercel.app
f36.contentful.com
forma-36.colorfuldemo.com
forma-36-git-main.colorfuldemo.com