Skip to content

Commit

Permalink
Merge pull request #7318 from stopfstedt/htmleditor_setfocus
Browse files Browse the repository at this point in the history
autofocus when program-year objective editor is opened.
  • Loading branch information
dartajax authored Jul 24, 2023
2 parents ab7d7fe + 614d8ac commit d93658d
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 d93658d

Please sign in to comment.