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

Commit ce9aac1

Browse files
committed
fix(number): default values
1 parent 6ff673c commit ce9aac1

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)