Hartford specific customerAccount example
This commit is contained in:
17
src/components/VerticalLabelValue.vue
Normal file
17
src/components/VerticalLabelValue.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
<script setup>
|
||||
// eslint-disable-next-line
|
||||
const props = defineProps(["label", "value"]);
|
||||
const rows = Math.ceil(props.value.length/18);
|
||||
</script>
|
||||
<template>
|
||||
<div class="vertical-layout-cell">
|
||||
<div class="GTTextLabel GTRTextLabel" :title="label" style="">{{ label }}</div>
|
||||
</div>
|
||||
<div class="vertical-layout-cell">
|
||||
<textarea
|
||||
:value="value" class="GTTextField read-only" :title="label" type="textarea" readonly="" :rows="rows"
|
||||
maxlength="1024" />
|
||||
</div>
|
||||
</template>
|
||||
<style></style>
|
||||
Reference in New Issue
Block a user