mirror of
https://github.com/flarum/framework.git
synced 2025-06-03 22:43:10 +08:00
Fix discussion composer title field not focusing editor on 'enter'
This commit is contained in:
@ -42,7 +42,7 @@ export default class DiscussionComposer extends ComposerBody {
|
|||||||
oninput={m.withAttr('value', this.title)}
|
oninput={m.withAttr('value', this.title)}
|
||||||
placeholder={this.props.titlePlaceholder}
|
placeholder={this.props.titlePlaceholder}
|
||||||
disabled={!!this.props.disabled}
|
disabled={!!this.props.disabled}
|
||||||
onkeydown={this.onkeydown}/>
|
onkeydown={this.onkeydown.bind(this)}/>
|
||||||
</h3>
|
</h3>
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user