Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #144 from alvarosaburido/feature/number-input
Browse files Browse the repository at this point in the history
fix(number): default values
  • Loading branch information
alvarosabu authored Sep 30, 2020
2 parents 39c2250 + ce9aac1 commit ff47ff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export class InputBase<T> {
this.rows = options.rows || 0;
this.cols = options.cols || 0;
this.min = options.min || 0;
this.max = options.max || 0;
this.step = options.step || 0;
this.max = options.max || 100;
this.step = options.step || 1;
}
}

Expand Down

0 comments on commit ff47ff9

Please sign in to comment.