Ok sorry I figured it out my self after spending 2 hours. The error was using the wrong Event Handler i typed @onClick
It should be @onclick