Connect onSubmit

This commit is contained in:
Andrei Prigorshnev 2024-04-01 22:17:16 +04:00
parent 7b2b8c1151
commit 3c802b0332
No known key found for this signature in database
GPG Key ID: 185E0A5F45783902
2 changed files with 2 additions and 2 deletions

View File

@ -41,4 +41,4 @@
</div>
{{/if}}
<Assignment />
<Assignment @onSubmit={{this.assign}} />

View File

@ -7,7 +7,7 @@ export default class AssignUserForm extends Component {
@action
handleTextAreaKeydown(event) {
if ((event.ctrlKey || event.metaKey) && event.key === "Enter") {
this.submit(); // fixme andrei
this.args.onSubmit();
}
}
}