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

Commit ff47ff9

Browse files
authored
Merge pull request #144 from alvarosaburido/feature/number-input
fix(number): default values
2 parents 39c2250 + ce9aac1 commit ff47ff9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/models.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export class InputBase<T> {
6767
this.rows = options.rows || 0;
6868
this.cols = options.cols || 0;
6969
this.min = options.min || 0;
70-
this.max = options.max || 0;
71-
this.step = options.step || 0;
70+
this.max = options.max || 100;
71+
this.step = options.step || 1;
7272
}
7373
}
7474

0 commit comments

Comments
 (0)