• I am using Listo to display a list of countries “data:countries”. After upgrading to 5.0.3 or later, the default option no longer works. The first item in the list is selected instead of the default one that I choose.

    If I have a manually entered list of options, then default works as it should. It is only when using Listo data that the default option does not work.

    Does not work: [select* dealer-country default:235 data:countries]
    – Aruba is selected, which is the first item in the select field

    Works: [select* dealer-country default:2 “1” “2” “3” “4”]
    – 2 is selected

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    I’ve confirmed this is due to a bug created in 5.0.3 and will fix it in the next release. Thanks for reporting.

    Is it same trouble since 5.03 when using option $include_blank ( from modules/select.php ) ?

    The value that is returned is not shifted

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Default Select Option when using Listo’ is closed to new replies.