diff --git a/modules/backend/widgets/form/partials/_field_number.htm b/modules/backend/widgets/form/partials/_field_number.htm index a35e77598..48d944798 100644 --- a/modules/backend/widgets/form/partials/_field_number.htm +++ b/modules/backend/widgets/form/partials/_field_number.htm @@ -11,7 +11,7 @@ class="form-control" autocomplete="off" maxlength="255" - pattern="\d+" + pattern="-?\d+(\.\d+)?" getAttributes() ?> />