more selectBox fixes
This commit is contained in:
parent
ee0bf0f5db
commit
f01b5cb7e1
2 changed files with 2 additions and 4 deletions
|
|
@ -339,8 +339,7 @@ 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") || $u->profileField("homeCountry")),
|
||||
-options=>\%countries
|
||||
);
|
||||
$f->phone(
|
||||
|
|
|
|||
|
|
@ -409,8 +409,7 @@ 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") || $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