[SOLVED] self.$setState cannot update a content inside a tab


#1

I am using tabs and I want to use self.$setState to update the content inside them on background and the problem is that the content inside the tab it is not being updated only outside the tabs the content is being updated without problems…

any solution?

this works

{{#if offers}}
   yes offers
{{else}}      
   no offers
{{/if}}

this does not work

 <div class="tabs">
{{#each tabs}}
...
{{#if offers}}
   yes offers
{{else}}      
   no offers
{{/if}}
...
{{/each}}
</div>

thanks


AJAX request to work in background while browsing the current page?
#2

Fix it! my tabs divisions were generated dynamically and this affect the tabs to be updated in some way. I change the tabs division to be static html and now it works fine!

:+1::blush:


#3

Great…Kindly mark this as solved then…


#4

I do not see in my panel how to mark it as solved :frowning:


#5

Just edit your title but adding something like [SOLVED]… It helps the next coder, these things give headache man…:grin:


#6

good :slight_smile: doing that now… pitty there is no way to close it …