add input number

This commit is contained in:
Tiago Vasconcelos 2022-11-17 15:32:20 +00:00 committed by Vlad Stan
parent 1b76a7d068
commit edf76ad7cc

View File

@ -238,6 +238,7 @@
ref="inputRounding"
v-model.number="tipRounding"
:placeholder="roundToSugestion"
type="number"
hint="Total amount including tip"
:prefix="currency"
>
@ -673,4 +674,18 @@
}
})
</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 %}