I am creating a sort of checklist app and we have a feature with which users can customize the checklist questions.
So currently I am having a checklist collection which collects all the instances when they use this checklist.
Approach 1 :
Create a schema dynamically and pass it to autoform.
But my question is how to create this sort of dynamic collection and schemas, is this the right approach for solving this problem?
Have a collection which defines the master layout for the checklist and the fields are stored here and create the schema on the fly when the checklist if rendered.
My question here is how to create a schema from all the stored values in master layout collection, and if we do it, where is the new collection defined and how the data will be save.
Thanks for your time and advice.