Skip to content

Commit be619d2

Browse files
committed
Always show AmountInput border by default
1 parent 19693aa commit be619d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/AmountInput.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<span class="width-finder width-placeholder" ref="widthPlaceholder">{{placeholder}}</span>
55
<div v-if="maxFontSize" class="full-width" :class="{'width-finder': maxWidth > 0}" >Width</div>
66
<span class="width-finder width-value" ref="widthValue">{{formattedValue || ''}}</span>
7-
<input type="text" class="nq-input nq-light-blue vanishing"
7+
<input type="text" class="nq-input nq-light-blue" :class="vanishing"
88
:placeholder="placeholder"
99
:style="{width: `${this.width}px`, fontSize: `${this.fontSize}rem`}"
1010
v-model="formattedValue"
@@ -30,6 +30,7 @@ export default class AmountInput extends Vue {
3030
@Prop({type: Number}) private value?: number;
3131
@Prop({type: Number, default: 8}) private maxFontSize!: number;
3232
@Prop({type: String, default: '0'}) private placeholder!: string;
33+
@Prop({type: Boolean, default: false}) private vanishing!: boolean;
3334
3435
private liveValue: string = '';
3536
private lastEmittedValue = 0;

0 commit comments

Comments
 (0)