mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-24 08:46:15 -04:00
Merge branch 'dev' of github.com:CorentinTh/it-tools into dev
This commit is contained in:
commit
9f83534046
4 changed files with 6 additions and 5 deletions
|
@ -5,6 +5,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## Next
|
||||
- [fix] [GithubContributors] ordered contributors by contribution count
|
||||
- [refactor] used vue-typecasting for number inputs
|
||||
|
||||
## 1.2.1
|
||||
- [fix] [UuidGenerator] added quantity validation rules
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
label="Input base"
|
||||
outlined
|
||||
type="number"
|
||||
v-model="inputBase"
|
||||
v-model.number="inputBase"
|
||||
ref="inputBase"
|
||||
hide-details="auto"
|
||||
:rules="baseRules"
|
||||
|
@ -33,7 +33,7 @@
|
|||
label="Output base"
|
||||
outlined
|
||||
type="number"
|
||||
v-model="outputBase"
|
||||
v-model.number="outputBase"
|
||||
ref="outputBase"
|
||||
:rules="baseRules"
|
||||
/>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<v-card-text>
|
||||
<v-text-field
|
||||
outlined
|
||||
v-model="quantity"
|
||||
v-model.number="quantity"
|
||||
ref="quantity"
|
||||
type="number"
|
||||
label="Quantity"
|
||||
|
|
|
@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
|
|||
}
|
||||
|
||||
const isInt = (value) => {
|
||||
return Number.isInteger(parseFloat(value));
|
||||
return Number.isInteger(value);
|
||||
}
|
||||
|
||||
export {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue