Skip to content

Commit

Permalink
Improved eon-number
Browse files Browse the repository at this point in the history
  • Loading branch information
richardvimletm committed Nov 18, 2020
1 parent 9b9e672 commit 326b9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eon-ui/src/copy/eon/ui/eon-number/eon-number.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@
*/
checkMin: function (value) {
var el = this;
var returnValue = (el.min && parseInt(value) < parseInt(el.min)) ? parseInt(el.min) : parseInt(value);

var returnValue = (el.min || el.min === 0) && parseInt(value) < parseInt(el.min) ? parseInt(el.min) : parseInt(value);
return returnValue;
},
/*
Expand Down

0 comments on commit 326b9f8

Please sign in to comment.