From ce9aac1cedfe35fed2ff7e17ceab02930c2998f6 Mon Sep 17 00:00:00 2001 From: Alvaro Saburido Date: Tue, 29 Sep 2020 18:28:04 +0200 Subject: [PATCH] fix(number): default values --- src/core/models.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/models.ts b/src/core/models.ts index 56dd04c..f3c1312 100644 --- a/src/core/models.ts +++ b/src/core/models.ts @@ -67,8 +67,8 @@ export class InputBase { 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; } }