add input number
This commit is contained in:
parent
1b76a7d068
commit
edf76ad7cc
1 changed files with 15 additions and 0 deletions
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue