sometimes the value of the object is displayed correctly, but sometimes [object] is displayed, this is resolved when pressing F5, to that's why I think that data isn't loaded when html is ready. In Angular there is cloak to prevent raw html to show up. Anything similar in riotjs?
Asked
Active
Viewed 45 times
0
-
could you provide a code example? – vitomd Oct 19 '16 at 18:45
-
`{__('procedureDetail.table.location')}{item.storageLocation}` – user1008531 Oct 20 '16 at 07:26
-
1I think that you are not using the each method correctly, because you are using it to iterate over an array that only has the true value. It´s used like this , you iterate and you can access the object properties that you are iterating{key}– vitomd Oct 20 '16 at 14:08
-
I use this method to simulate and if condition because there is a bug in if if you have more then 1 condition – user1008531 Oct 21 '16 at 08:15
-
I´m not aware of that bug. Here is an example with multiple condition: http://plnkr.co/edit/6QzOwo3H3chA1t9RvFVA?p=preview . Try to create a plunker with your issue, so it´s easy to find the problem. – vitomd Oct 21 '16 at 18:02