Hello ,
I have a component {{table-royal data=data}} data contains an json array {[“name”:“king”],[“name”:“queen”]} in controller. now inside this component there is table and each row the table contains a dropdown of year having [“1910,1920,…”]… i have a action defined on the click of the dropdown which gives me the selection , then set “isFilter” true property in that data array eg. if king is selected {[“name”:“king”, “isFilter”:“true”],[“name”:“queen”]}
then in hbs of component i have
{{#if data.FilterCriteria equals true}}//equals is a helper
{{catalog.isFilter}}
{{else}}
{{ dropdown}}
but the component always show dropdown
even i have console.log the data …it show the is Filter property set