Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/AmountInput/AmountInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@focus="isFocussed = true"
@blur="isFocussed = false"
@paste="$emit(AmountInputEvent.PASTE, $event)"
v-bind="$attrs"
v-model="formattedValue"
/>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/components/AmountWithFee/AmountWithFee.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="amount-with-fee">
<AmountInput class="value" v-model="liveAmount" :class="{ invalid: !isValid && liveAmount > 0 }" ref="amountInput$" />
<AmountInput class="value" v-model="liveAmount" :class="{ invalid: !isValid && liveAmount > 0 }" v-bind="$attrs" ref="amountInput$" />
<div class="fee-section nq-text-s">
<div v-if="!isValid && liveAmount" class="nq-red"><slot name="insufficient-balance-error">{{ $t('Insufficient balance') }}</slot></div>
<div v-else>
Expand Down
2 changes: 1 addition & 1 deletion src/components/CloseButton/CloseButton.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<button class="close-button nq-button-s" @mousedown.prevent>
<button class="close-button nq-button-s" v-bind="$attrs" @mousedown.prevent>
<CloseIcon/>
</button>
</template>
Expand Down
1 change: 1 addition & 0 deletions src/components/LabelInput/LabelInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@input="onInput"
@blur="onBlur"
@paste="$emit(LabelInputEvent.PASTE, $event)"
v-bind="$attrs"
ref="input$">
</form>
</template>
Expand Down
1 change: 1 addition & 0 deletions src/components/LongPressButton/LongPressButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@blur="isPressed = false /* if focus moves away, release the button */"
@click.prevent.stop="$event.stopImmediatePropagation(); /* don't trigger handlers */"
@submit.prevent.stop="$event.stopImmediatePropagation(); /* don't trigger handlers and default behavior */"
v-bind="$attrs"
>
<span class="mix-blend-mode-mask">
<transition name="transition-indicator">
Expand Down