update input keyboard return key labels

This commit is contained in:
ammarahm-ed
2021-04-05 10:25:05 +05:00
parent 8a67c3daf4
commit 76a44aa61a
4 changed files with 28 additions and 1 deletions

View File

@@ -128,6 +128,8 @@ export class AddTopicDialog extends React.Component {
defaultValue={this.toEdit ? this.toEdit.title : null}
placeholder="Enter title of topic"
onSubmit={() => this.addNewTopic()}
returnKeyLabel="Done"
returnKeyType="done"
/>
<DialogButtons