Skip to content

Commit

Permalink
[gui] Use textarea at source component description
Browse files Browse the repository at this point in the history
The `Description` field on the Web GUI when editing source components
is a single-line textbox, which makes writing anything longer than six
words needing scroll. For this reason we turn the UI element into a
textarea.
  • Loading branch information
csordasmarton committed Feb 18, 2021
1 parent 6626d77 commit 31e93d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/server/vue-cli/e2e/pages/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ module.exports = {
elements: {
name: ".component-name input[type='text']",
value: ".component-value textarea",
description: ".component-description input[type='text']",
description: ".component-description newSourceComponentDialog",
saveBtn: ".save-btn",
cancelBtn: ".cancel-btn",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
:rules="rules.value"
/>

<v-text-field
<v-textarea
v-model.trim="component.description"
class="component-description "
label="Description"
Expand Down

0 comments on commit 31e93d0

Please sign in to comment.