diff options
Diffstat (limited to 'lib/classes/forms/RangeInput.php')
| -rw-r--r-- | lib/classes/forms/RangeInput.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/classes/forms/RangeInput.php b/lib/classes/forms/RangeInput.php index 9f99d59..7a69e9e 100644 --- a/lib/classes/forms/RangeInput.php +++ b/lib/classes/forms/RangeInput.php @@ -11,6 +11,9 @@ class RangeInput extends Input $template->name = $this->name; $template->value = $this->value; $template->id = md5(uniqid()); + $template->min = $this->attributes['min']; + $template->max = $this->attributes['max']; + $template->step = $this->attributes['step']; $template->required = $this->required; $template->attributes = arrayToHtmlAttributes($this->attributes); return $template->render(); |
