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
- Host: GitHub
- URL: https://github.com/wspringer/vue-autoextra
- Owner: wspringer
- Created: 2019-06-06T12:09:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:32:47.000Z (over 3 years ago)
- Last Synced: 2025-09-20T01:11:34.315Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 941 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
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
```
