selectBox fixes
This commit is contained in:
parent
390fdcd8d9
commit
ee0bf0f5db
2 changed files with 4 additions and 4 deletions
|
|
@ -339,8 +339,8 @@ sub checkoutForm {
|
|||
$f->selectBox(
|
||||
-name=>"country",
|
||||
-label=>$i18n->get("country"),
|
||||
-value=>[$self->session->form->process("country")],
|
||||
-defaultValue=>[$u->profileField("homeCountry")],
|
||||
-value=>$self->session->form->process("country"),
|
||||
-defaultValue=>$u->profileField("homeCountry"),
|
||||
-options=>\%countries
|
||||
);
|
||||
$f->phone(
|
||||
|
|
|
|||
|
|
@ -409,8 +409,8 @@ sub checkoutForm {
|
|||
$f->selectBox(
|
||||
-name=>"country",
|
||||
-label=>$i18n->get("country"),
|
||||
-value=>[$self->session->form->process("country")],
|
||||
-defaultValue=>[$u->profileField("homeCountry")],
|
||||
-value=>$self->session->form->process("country"),
|
||||
-defaultValue=>$u->profileField("homeCountry"),
|
||||
-options=>\%countries
|
||||
);
|
||||
#For some odd reason, defaultValue needs to come before value here or value displays the text "-defaultValue". Bug is reported.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue