2amigos/yiiwheels

Flags in WhCountry

Closed this issue · 9 comments

hi.

I can't see country flags in dropdown list, like in the official example..
example link: http://yiiwheels.2amigos.us/site/inputs#multiselect

please help. thanks.

Mulitselect doesn't have any flags... Is the form helpers. Mind sharing some code?

sorry, but I would like to select only one country. for exp: Azerbaijan. but I couldn't see the flag of this country.

code:

<div class="span3">
        <p>Countries</p>
        <?php
        $this->widget(
            'yiiwheels.widgets.formhelpers.WhCountries',
            array(
                'name' => 'countrytest',
                'value' => 'US',
                'useHelperSelectBox' => true,
                'pluginOptions' => array(
                    'country' => 'US',
                    'flags' => true
                )
            )
        );
        ?>
    </div>

That Looks correct to me... have you checked on your browser console if there is any error of inclusion? Are you running the latest copy?

related to #97

but it's not correct to me..

yes i have checked, there is not any error and/or warning.

yes i have the lastest copy...

I think is due to the order of the CSS.

On Sun, Jul 27, 2014 at 5:05 PM, Mircəlal notifications@github.com wrote:

but it's not correct to me..

yes i have checked, there is not any error and/or warning.

yes i have the lastest copy...


Reply to this email directly or view it on GitHub
#121 (comment).

Antonio Ramirez

2amigOS.us http://2amigos.us/
amigo.cobos@gmail.com
Phone: +1 516-441-0023
Mobile: +34 607 040932
Skype: toni.ramirez

but how to fix this problem?

@mirjalal check how i did it on the docs: https://github.com/2amigos/yiiwheels-docs

Check their order

@mirjalal form-helpers updated to new version coming for BS3