mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
go back in the form
This commit is contained in:
parent
ddc1558ada
commit
b64db8158a
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<b-row class="transaction-form">
|
<div class="transaction-form">
|
||||||
|
<b-row>
|
||||||
<b-col cols="12">
|
<b-col cols="12">
|
||||||
<b-card class="appBoxShadow gradido-border-radius" body-class="p-3">
|
<b-card class="appBoxShadow gradido-border-radius" body-class="p-3">
|
||||||
<validation-observer v-slot="{ handleSubmit }" ref="formValidator">
|
<validation-observer v-slot="{ handleSubmit }" ref="formValidator">
|
||||||
@ -107,6 +108,7 @@
|
|||||||
</b-card>
|
</b-card>
|
||||||
</b-col>
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { SEND_TYPES } from '@/pages/Send.vue'
|
import { SEND_TYPES } from '@/pages/Send.vue'
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
<div v-else>{{ errorResult }}</div>
|
<div v-else>{{ errorResult }}</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-center mt-5">
|
<p class="text-center mt-5">
|
||||||
<b-button variant="secondary" @click="$emit('on-reset')">
|
<b-button variant="secondary" @click="$emit('on-back')">
|
||||||
{{ $t('form.close') }}
|
{{ $t('form.close') }}
|
||||||
</b-button>
|
</b-button>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
@focus="amountFocused = true"
|
@focus="amountFocused = true"
|
||||||
@blur="normalizeAmount(true)"
|
@blur="normalizeAmount(true)"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
autocomplete="off"
|
||||||
></b-form-input>
|
></b-form-input>
|
||||||
|
|
||||||
<b-form-invalid-feedback v-bind="ariaMsg">
|
<b-form-invalid-feedback v-bind="ariaMsg">
|
||||||
@ -63,7 +64,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentValue: '',
|
currentValue: this.value,
|
||||||
amountValue: 0.0,
|
amountValue: 0.0,
|
||||||
amountFocused: false,
|
amountFocused: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
@focus="emailFocused = true"
|
@focus="emailFocused = true"
|
||||||
@blur="normalizeEmail()"
|
@blur="normalizeEmail()"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
autocomplete="off"
|
||||||
></b-form-input>
|
></b-form-input>
|
||||||
<b-form-invalid-feedback v-bind="ariaMsg">
|
<b-form-invalid-feedback v-bind="ariaMsg">
|
||||||
{{ errors[0] }}
|
{{ errors[0] }}
|
||||||
|
|||||||
@ -41,7 +41,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentValue: '',
|
currentValue: this.value,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@ -171,7 +171,6 @@ export default {
|
|||||||
},
|
},
|
||||||
onBack() {
|
onBack() {
|
||||||
this.currentTransactionStep = TRANSACTION_STEPS.transactionForm
|
this.currentTransactionStep = TRANSACTION_STEPS.transactionForm
|
||||||
this.$mount()
|
|
||||||
},
|
},
|
||||||
updateTransactions(pagination) {
|
updateTransactions(pagination) {
|
||||||
this.$emit('update-transactions', pagination)
|
this.$emit('update-transactions', pagination)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user