-
Notifications
You must be signed in to change notification settings - Fork 489
Add Stepper Component #1102
Comments
Storybook and Angular component are completed. Left TODO:
|
@nanaasiedu pointed out that the Props are not rendering, this is something we will need to address as well. |
I'm struggling with Storybook and the component in general. Lots of console errors around the formBuilder. I am thinking I will revisit this using form templates instead? Maybe that will be a more friendly way in Angular to render a number of undetermined form elements from a config. |
I played with this some more yesterday, didn't make any direct headway, but I didn't find another project wanting to do something similar, essentially rendering form inputs on the fly. I think, the trick is to stub out the formGroup sections with empty controls so it matches anything and then as we add elements we an add the control so it can match / validate. |
I managed to get the formGroup working by ensuring that config and items were both set before attempting to forLoop. |
I found why props were not displaying. Needed to be added to the compudoc tsconfig.
|
I dont get that exact error but I get this: Though I can edit the canvas and see the changes being applied |
I made some updates and pushed them up: Still seeing the |
The There is a whole class of similar storybook issues, for example this one: |
thanks @mklanjsek I set the PR ready to review |
Add Stepper Component to Octant
Deliverable
No server state, this is just the component.
The text was updated successfully, but these errors were encountered: