Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1174 from MitanOmar/Enforce-spelling-check-for-Co…
Browse files Browse the repository at this point in the history
…mment-field

feat: enforce spelling check for comment field
  • Loading branch information
MitanOmar committed Feb 13, 2024
2 parents 56c46b5 + b5ddcc9 commit 9862973
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/components/report-row/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
id="row-comment"
value={{cs.comment}}
disabled={{not this.editable}}
spellcheck="true"
{{on "change" (pick "target.value" (fn (mut cs.comment)))}}
data-test-report-comment
/>
Expand Down
1 change: 1 addition & 0 deletions app/components/tracking-bar/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
class="form-control"
placeholder="Comment"
name="comment"
spellcheck="true"
@value={{this.tracking.activity.comment}}
disabled={{this.tracking.activity.active}}
/>
Expand Down
1 change: 1 addition & 0 deletions app/index/activities/edit/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
placeholder="Comment"
name="comment"
id="comment"
spellcheck="true"
value={{this.changeset.comment}}
{{on
"change"
Expand Down

0 comments on commit 9862973

Please sign in to comment.