ng-country-select icon indicating copy to clipboard operation
ng-country-select copied to clipboard

Module not working if follow instruction

Open amigo00678 opened this issue 9 years ago • 5 comments

I followed the instruction to use module but got not working module. Maybe something else is needed?

country

amigo00678 avatar Feb 25 '16 05:02 amigo00678

Fixed this by replacing template with folowing:

template: '<select><option ng-repeat="country in countries" value="country.code">{{country.name}}</option></select>',

amigo00678 avatar Feb 25 '16 07:02 amigo00678

you forgot the "{{}}" at values

template: '<select><option ng-repeat="country in countries" value="{{country.code}}">{{country.name}}</option></select>',

hsilvest avatar Mar 26 '16 16:03 hsilvest

@hsilvest :+1:

ashkarrrahman avatar Jun 27 '16 08:06 ashkarrrahman

@amigo00678, don't modify the module, add an ng-model to the tag:

<country-select ng-model="country" cs-priorities="GB, US, CN, ES"></country-select>

donato-francavilla avatar Aug 04 '16 13:08 donato-francavilla

angular app not detecting the 'country-select' tag

daijaafarflyt avatar Aug 03 '18 15:08 daijaafarflyt