diff --git a/src/DataForm/Field/Numberange.php b/src/DataForm/Field/Numberange.php index fec13b57..0640357c 100644 --- a/src/DataForm/Field/Numberange.php +++ b/src/DataForm/Field/Numberange.php @@ -21,7 +21,7 @@ public function build() { $output = ""; - if (parent::build() === false) { + if (Field::build() === false) { return; } @@ -42,8 +42,8 @@ public function build() case "create": case "modify": - $lower = Form::number($this->name . '[]', @$this->values[0], $this->attributes); - $upper = Form::number($this->name . '[]', @$this->values[1], $this->attributes); + $lower = Form::number($this->name . '[from]', @$this->values[0], $this->attributes); + $upper = Form::number($this->name . '[to]', @$this->values[1], $this->attributes); $output = '