FormExtensibleSet: fix non-select field name
This commit is contained in:
parent
2f40de10ec
commit
abd97ea93c
|
@ -122,7 +122,7 @@ class Zend_View_Helper_FormExtensibleSet extends Zend_View_Helper_FormElement
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$elements[] = '<li><input type="text"'
|
$elements[] = '<li><input type="text"'
|
||||||
. ' name="' . $name . '_add"'
|
. ' name="' . $name . '[]"'
|
||||||
. ($cnt === 0 ? '' : ' class="extend-set"')
|
. ($cnt === 0 ? '' : ' class="extend-set"')
|
||||||
. ' id="' . $id . $suff . '"'
|
. ' id="' . $id . $suff . '"'
|
||||||
. ' placeholder="' . $v->translate('Add a new one...') . '"'
|
. ' placeholder="' . $v->translate('Add a new one...') . '"'
|
||||||
|
|
Loading…
Reference in New Issue