forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
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 zulip#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
2345414
commit 79007d6
Showing
1 changed file
with
19 additions
and
9 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