forked from verdnatura/hedera-web
eprf: add max value
This commit is contained in:
parent
f821b8689a
commit
462a8a3cf8
|
@ -54,10 +54,17 @@ const onConfirmPay = async () => {
|
|||
<Teleport :to="$actions">
|
||||
<div class="balance">
|
||||
<span class="label">{{ t('balance') }}</span>
|
||||
<span class="amount" :class="{ negative: debt < 0 }">
|
||||
<span
|
||||
class="amount"
|
||||
:class="{ negative: debt < 0 }"
|
||||
>
|
||||
{{ currency(debt || 0) }}
|
||||
</span>
|
||||
<QIcon name="info" class="info" size="sm">
|
||||
<QIcon
|
||||
name="info"
|
||||
class="info"
|
||||
size="sm"
|
||||
>
|
||||
<QTooltip max-width="450px">
|
||||
{{ t('paymentInfo') }}
|
||||
</QTooltip>
|
||||
|
@ -134,6 +141,7 @@ const onConfirmPay = async () => {
|
|||
class="full-width"
|
||||
type="number"
|
||||
min="0"
|
||||
:max="debt * -1"
|
||||
/>
|
||||
</template>
|
||||
</VnConfirm>
|
||||
|
|
Loading…
Reference in New Issue