Skip to content

Commit

Permalink
Add rows attribute to text area
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Oct 24, 2024
1 parent cee2dbe commit 0a8acb5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"charts"
],
"license": "MIT",
"version": "0.0.9",
"version": "0.0.10",
"type": "module",
"main": "./dist/galaxy-charts.umd.cjs",
"module": "./dist/galaxy-charts.js",
Expand Down
1 change: 1 addition & 0 deletions public/galaxy-charts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<label>Setting: Text</label>
<name>setting_text</name>
<type>textarea</type>
<rows>5</rows>
<optional>true</optional>
</input>
<input>
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import { GalaxyCharts } from "@galaxyproject/galaxy-charts";
import { GalaxyCharts } from "galaxy-charts";
import Plugin from "@/Plugin.vue";
const config = {
dataset_url: "galaxy-charts.txt",
Expand Down
1 change: 1 addition & 0 deletions src/components/InputForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ watch(
<n-input
v-else-if="input.type === 'textarea'"
v-model:value="currentValues[input.name]"
:rows="Number(input.rows)"
type="textarea"
@update:value="onUpdate()" />
<n-input v-else v-model:value="currentValues[input.name]" @update:value="onUpdate()" />
Expand Down

0 comments on commit 0a8acb5

Please sign in to comment.