Hello,
I am playing around with T5 and I have a submit inside of a form component
like this:
TML:
<input type="submit" t:type="submit" t:id="submitButton" value="Submit"/>
Java:
@OnEvent(component = "submitButton")
void onSubmitButton() {
System.out.println("Submit button was pressed!");
}
When I press the button, only the form runs not the submit.
Any Ideas?
--James
