Jimdo / angular-fontselect

A fontselect directive for AngularJS
MIT License
29 stars 9 forks source link

Open or Search triggers a Form Submit #48

Closed gmisa closed 8 years ago

gmisa commented 8 years ago

Hi, im not sure if this is by design, but each time i click on Search or Open, the form submits. How do I prevent that behavior?

Thanks

Xiphe commented 8 years ago

i guess, that's not by design but because we have not jet used this in a <form> element and the search and open actions are triggered by a button that has no preventDefault. I'll look into that later

Xiphe commented 8 years ago

though, i'm not sure if any good values will be submitted with the form :confused:

Xiphe commented 8 years ago

should be fixed with v0.12.4