I’d like to create a task list similar to asana, where
the first input field within a repeating group is visible and has a placeholder which then can be changed into a task using auto-bind
upon enter OR click of an icon, a new input field appears
and so on…
After hours of messing around, I cannot seem to make this happen… is it possible?
Thanks!
dan1
September 25, 2018, 1:22am
2
If you want to design an input field within a repeating group that acts like a placeholder, you may find it helpful to read this thread.
Essentially, you differentiate by creating a “draft” item in the database using a boolean field, which you filter out accordingly from your searches/saved lists.
My belief is that the better thing to do is to still create an object in the database for the sake of user experience. If you rely completely on states to hold the data, any data is potentially lost on a page refresh, internet connection issue, etc.
I typically do this by putting a flag on the newly-created record (ie. a yes/no field of is_incomplete = yes). (Add in logic referencing a larger object / common association for each individual thing).
Then, when a Submit button is clicked, I have …
2 Likes
Thanks so much! I’ll give this a go.
1 Like
system
Closed
December 4, 2018, 12:35am
4
This topic was automatically closed after 70 days. New replies are no longer allowed.