Skip to content

Commit

Permalink
extend feedback placeholder
Browse files Browse the repository at this point in the history
-
Ticket: SUITEDEV-30448
  • Loading branch information
hawser86 committed Mar 18, 2022
1 parent 1d3a0fc commit 54addcd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/renderer/components/feedback-dialog/feedback-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
<div class="e-field">
<div class="e-field__label">Your feedback</div>
<textarea
class="e-input e-input-textarea"
class="e-input e-input-textarea e-input-auto_height"
v-model="feedback"
placeholder="Enter a detailed description of your feedback or suggestion"
:placeholder="placeholder"
rows="4"
></textarea>
</div>

Expand Down
9 changes: 8 additions & 1 deletion src/renderer/components/feedback-dialog/feedback-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ export default {
feedback: '',
feedbackSendingInProgress: false
}),
computed: {
placeholder() {
return [
'Enter a detailed description of your feedback or suggestion',
'If you want to report a bug, please leave some contact info, so we can reach you in case we have questions'
].join('\n\n');
}
},
methods: {
open() {
this.opened = true;
Expand All @@ -37,4 +45,3 @@ export default {
}
}
};

0 comments on commit 54addcd

Please sign in to comment.