-
-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compose: Make topic text input uncontrolled
Fixes #2589 Remove the `value={topic}` from topic text input making it an uncontrolled component. To replicate the previous behavior: * initialze at the start in `componentDidMount` * make sure the topic input text is updated when we focus on a the message input (it is invisible until then) * change the text on picking a topic autocomplete suggestion
- Loading branch information
1 parent
c1ecf66
commit 806c554
Showing
1 changed file
with
14 additions
and
5 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