ipl\Html\Form: use value name, not index
This commit is contained in:
parent
0931c1df91
commit
77543371b7
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue