How can I disable the $touched state when a form is submitted with no data for the first element? Or after the user submit the form set all input elements as $touched.
I noticed this only happens using ionic, from 1.0.0 to 1.3.1. Using just angular is fine.
Here is an example: http://play.ionic.io/app/b0a50d2b0a18
Both of the inputs are required. Don’t touch any of the inputs (email or password) and submit the form. You will notice that the first element is set to $touched and not the second one.