message: Fixed: The input number does not go above the maximum number &
  The input number does not drop below the minimum number.
diff: @@ -9,6 +9,12 @@ export default function() {
  if (number === '-') {
  number = 0;
  }
  + if(Number(number) >= this.opts.max) {
  + number = this.opts.max - (this.opts.step || 1);
  + }
  + if(Number(number) < this.opts.min) {
  + number = this.opts.min - (this.opts.step || 1);
  + }
  this.opts.onchange(Number(number) + (this.opts.step || 1));
  };
  @@ -21,6 +27,12 @@ export default function() {
  if (number === '-') {
  number = 0;
  }
  + if(Number(number) > this.opts.max) {
  + number = this.opts.max + (this.opts.step || 1);
  + }
  + if(Number(number) <= this.opts.min) {
  + number = this.opts.min + (this.opts.step || 1);
  + }
  this.opts.onchange(Number(number) - (this.opts.step || 1));
  };
  