Skip to content

Commit

Permalink
autofocus when program-year objective editor is opened.
Browse files Browse the repository at this point in the history
  • Loading branch information
stopfstedt committed Jul 24, 2023
1 parent ab7d7fe commit 614d8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/program-year/objective-list-item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@save={{perform this.saveTitleChanges}}
@close={{this.revertTitleChanges}}
>
<HtmlEditor @content={{this.title}} @update={{this.changeTitle}} />
<HtmlEditor @content={{this.title}} @update={{this.changeTitle}} @autofocus={{true}} />
<ValidationError @errors={{get-errors-for this.title}} />
</EditableField>
{{else}}
Expand Down

0 comments on commit 614d8ac

Please sign in to comment.