mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Fix impostazione limiti per i numeri
This commit is contained in:
parent
401fe5286e
commit
4db9900d5a
@ -2,8 +2,8 @@ function initNumbers() {
|
||||
$('.decimal-number').not('.bound').each(function () {
|
||||
let $this = $(this);
|
||||
|
||||
let min = $this.attr('min-value') ? $this.attr('min-value') : "-10000000000000";
|
||||
let max = $this.attr('max-value') ? $this.attr('max-value') : "10000000000000";
|
||||
let min = $this.attr('min-value') && $this.attr('min-value') !== "undefined" ? $this.attr('min-value') : "-10000000000000";
|
||||
let max = $this.attr('max-value') && $this.attr('max-value') !== "undefined" ? $this.attr('max-value') : "10000000000000";
|
||||
|
||||
let decimals = $this.attr('decimals') ? $this.attr('decimals') : globals.cifre_decimali;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user