You'll need to share some code.
Dec 10, 2017
2
Level 3
Style binding not updating properly
Hello I made a component that contains a field with a dynamic style. The component is something like a quiz. The user has to solve mathematical tascs (simple multiplication). The answer is submitted by hitting enter.
Here's the problem: a correct answer should become green, a wrong answer red. The computed property is updating correctly and even the element class seems to update but the UI doesn't update. The color only changes when I click anywhere on the screen.
Can someone say what I'm doing wrong or how I can make it better?
Thank you!
Please or to participate in this conversation.