ladda-js / ladda

JavaScript data fetching layer with caching
https://petercrona.gitbooks.io/ladda/content/
MIT License
112 stars 16 forks source link

Vue Example - Use form Submit #2

Closed crcatala closed 7 years ago

crcatala commented 7 years ago

Noticed the Vue example is using a plain input field and not a form (as was done in the React example).

To maintain consistency among examples, let's have a similar form submit behavior with the react example. That is, we are able to both submit form by pressing enter key and by clicking submit button.