Comments (4)
Problem with rep
approach. If first rep is deleted/removed. Possibly solution is to add response model, separate from question model.
responses are stored separately for multi-response questions but question/form is only saved once. i.e. forms have many questions have many responses.
- Add response model
- Re-write form / question templates to loop through forms, then questions, then responses.
- Re-write application demo data
- Re-write code to save responses in response model not in question model/
from kelpie.
UPDATE:: maybe need a helper function to find unique forms? This will be re-active?
<Form>
@unique={{unique @forms}}
</Form>
from kelpie.
Async helper complete - but need to re-adjust model to fix. Could model being out of sync with template be source of why action/this.rgs didn't work (or caching?). Async helper could be useful anyway?
from kelpie.
Using a getter to find unique forms (so only display multi-entry forms once). This automatically updates when new forms added.
from kelpie.
Related Issues (20)
- Add container model attribute
- Upon adding new form go to edit form mode HOT 1
- Correctly display non-multiple entry question
- Remove records to archive (don't destroy) HOT 1
- Multiple entry repsonse can't be blank HOT 1
- Edit multi-entry responses HOT 1
- Editing forms changes type HOT 1
- Multi entry forms not working in methods HOT 1
- Add map input type
- Add project forms HOT 1
- Add tags to forms HOT 1
- Edit method forms (remove)
- Archive methods HOT 1
- Add linting tests to CI
- Offline local db only sync filtered subset of documents
- Fix ordering of forms
- Save questions during 'save' button action
- Use views to summarise percentage completion
- Add sub tasks
- Clear values after input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kelpie.