javascript - Angularjs reset form field with type of email -


in angularjs seems when try 'reset' form, setting of models empty object, if input type="email" doesn't cleared. changing type="text" works however, lose red border on validation.

is there anyway reset or clear email type input?

thanks!

just record, refer op comments explainations , see plunker demo.


Comments

Popular posts from this blog

javascript - addthis share facebook and google+ url -

java - Simulate the tossing of a coin three times and print out the percentage of cases in which one gets three tails -

c++ - Class declaration error at explicit keyword -