css - Angularjs & Bootstrap ng-class issue -


i got fiddle http://jsfiddle.net/l60l3gv9/9/ when match item in table, highlights :

ng-class="{show: test==x.country}" 

whereas i'm expecting in fiddle :

http://jsfiddle.net/nmcsr5x9/1/

but last fiddle have declare other variables in scope.

any ideas why first fiddle acting ?

it's because use .show class. display table-row block bootstrap.

you have 2 options:

1. use class name, .highlight

2. add display: table-row !important; .show


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -