diff --git a/modules/backend/widgets/form/partials/_field_number.htm b/modules/backend/widgets/form/partials/_field_number.htm
index 83744abb5..5790e9b96 100644
--- a/modules/backend/widgets/form/partials/_field_number.htm
+++ b/modules/backend/widgets/form/partials/_field_number.htm
@@ -2,15 +2,23 @@
previewMode): ?>
= $field->value ? e($field->value) : ' ' ?>
+ config['min']) ? $field->config['min'] : false;
+ $max = isset($field->config['max']) ? $field->config['max'] : false;
+ $step = isset($field->config['step']) ? $field->config['step'] : 'any';
+ ?>
+
+ = $max ? 'max="' . $max . '"' : ''; ?>
= $field->hasAttribute('pattern') ? '' : 'pattern="-?\d+(\.\d+)?"' ?>
= $field->hasAttribute('maxlength') ? '' : 'maxlength="255"' ?>
= $field->getAttributes() ?>