Bear with me I'm not super confident here.

I did 2 things:
- Added emailField template
- Changing input type attribute to email if email field

Both do the same things, however I could not get the example working without emailField template. Maybe I'm missing something though.