mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 12:26:19 +02:00
add input number
This commit is contained in:
committed by
Vlad Stan
parent
1b76a7d068
commit
edf76ad7cc
@@ -238,6 +238,7 @@
|
|||||||
ref="inputRounding"
|
ref="inputRounding"
|
||||||
v-model.number="tipRounding"
|
v-model.number="tipRounding"
|
||||||
:placeholder="roundToSugestion"
|
:placeholder="roundToSugestion"
|
||||||
|
type="number"
|
||||||
hint="Total amount including tip"
|
hint="Total amount including tip"
|
||||||
:prefix="currency"
|
:prefix="currency"
|
||||||
>
|
>
|
||||||
@@ -673,4 +674,18 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
input::-webkit-outer-spin-button,
|
||||||
|
input::-webkit-inner-spin-button {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Firefox */
|
||||||
|
input[type=number] {
|
||||||
|
-moz-appearance: textfield;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user