An open API service indexing awesome lists of open source software.

https://github.com/wspringer/vue-autoextra

Always have an extra form entry without polluting your model
https://github.com/wspringer/vue-autoextra

Last synced: 4 months ago
JSON representation

Always have an extra form entry without polluting your model

Awesome Lists containing this project

README

          

# README

Suppose that you have a form based on a collection of data. And you want to be
able to easily add a new entry. Autoextra is giving you exactly that: it will
repeat the same form section for all items in the collection, but it will also
magically add a new entry that will be added to the collection the moment you
start editing its data. (Which will then in turn trigger a new entry getting
added.)

```html




{{last ? 'New ' : ''}}Person {{!last ? index + 1 : ''}}




Age






```

![Demo](https://cdn-images-1.medium.com/max/1600/1*7tLPGOOpR3UcR4n0S5GUXg.gif)