jonathanpchan / openclassroom

2 stars 2 forks source link

Send a message by pressing Enter #129

Closed Suuugi closed 7 years ago

Suuugi commented 7 years ago

https://www.tjvantoll.com/2013/01/01/enter-should-submit-forms-stop-messing-with-that/

Suuugi commented 7 years ago

form class="chat-form" (submit)="sendMessage()" for the form and made the input of class submit.