ipl\Html\Form: use value name, not index

This commit is contained in:
Thomas Gelf 2018-09-29 09:24:24 +02:00
parent 0931c1df91
commit 77543371b7
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class Form extends BaseHtmlElement
$values = [];
foreach ($this->getElements() as $element) {
if (! $element->isIgnored()) {
$values[] = $element->getValue();
$values[$element->getName()] = $element->getValue();
}
}