I'm attempting to create a reusable wizard control that will display a data entry form based around Knockout. Essentially the template will never really change but will be completely dynamic. I envision being able to do the following:
- Define a simple model that contains a list of steps, essentially a step ID and maybe some logic on whether the step can be returned to once completed.
- Each step should then have a collection of fields or input items to display. This really breaks down to an HTML label and input box.
I've put together my initial thinking/logic and come up with this. I'm having a problem with getting the fields to display. The step titles all render properly but my Fields collection is always empty. What am I missing?