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

Commit

Permalink
fix(number): default values
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Sep 29, 2020
1 parent 6ff673c commit ce9aac1
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 ce9aac1

Please sign in to comment.