shlomiassaf / ngx-modialog

Modal / Dialog for Angular
http://shlomiassaf.github.io/ngx-modialog
MIT License
686 stars 241 forks source link

Pressing "Enter" key on Vex Modal Prompt reloads page #428

Open andyrue opened 6 years ago

andyrue commented 6 years ago

When I enter text into a Vex prompt and press the "Enter" key, it reloads the page with a ?vex=my-input-text parameter at the end. I expect it to do the same thing as clicking on the "Ok/Submit" button.

Does anybody else experience this? Got a workaround?

andyrue commented 6 years ago

I noticed the same thing happens on the demo site.

http://shlomiassaf.github.io/ngx-modialog/#/vex-demo

Choose the Prompt Drop In. Enter text and press the Enter/Return key on your keyboard.

paugp commented 6 years ago

Same problem