Skip to content

Commit

Permalink
feat: textarea row prop
Browse files Browse the repository at this point in the history
  • Loading branch information
arpowers committed Dec 29, 2022
1 parent 829fd48 commit c08e5c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @factor/ui/InputTextarea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
spellcheck="false"
:class="[textInputClasses(), modelValue ? 'set' : 'empty']"
:value="modelValue"
rows="1"
:rows="rows"
@input="send($event.target)"
/>
</template>
Expand All @@ -15,6 +15,7 @@ import { vue, onResetUi } from "@factor/api"
import { textInputClasses } from "./theme"
defineProps({
modelValue: { type: String, default: "" },
rows: { type: Number, default: 1 },
})
const emit = defineEmits<{
Expand Down

0 comments on commit c08e5c4

Please sign in to comment.