Adding "required" to an input field fires validation when the clicked button is within the form. But how do I trigger validation when clicking a button outside the form ?
I have created a plunker here demonstrating the issue: http://plnkr.co/edit/rxWHRxi3w8aJhkpO427c?p=preview
If you do not enter anything in the input field and click the button within form, then the validation is executed. But if you click the button outside the form, nothing happens.
How do I trigger validation when clicking a button outside the form ?
thanks
Thomas