diff options
author | Steve Beaver <sbeaver@netgate.com> | 2016-11-07 09:38:25 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2016-11-07 09:38:25 -0500 |
commit | 54a217f0ffbdf4c68dca0d2cb404bd2be8c645fd (patch) | |
tree | c49cf42d9edb469311853b3bfaa5a0e860e76c18 | |
parent | 55fcc035d117ea4f9707662f450e0fef706877b3 (diff) | |
download | pfsense-54a217f0ffbdf4c68dca0d2cb404bd2be8c645fd.zip pfsense-54a217f0ffbdf4c68dca0d2cb404bd2be8c645fd.tar.gz |
Correct part of #6779
Setting input "step" value to "any" alows hte element to accept decimal (float) values, not just integers.
-rw-r--r-- | src/etc/inc/shaper.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/shaper.inc b/src/etc/inc/shaper.inc index 7cbdd9c..317ed95 100644 --- a/src/etc/inc/shaper.inc +++ b/src/etc/inc/shaper.inc @@ -2267,7 +2267,8 @@ EOJS; 'bandwidth', null, 'number', - $this->GetBandwidth() + $this->GetBandwidth(), + ['step' => 'any', 'min' => '0.000'] )); $group->add(new Form_Select( |