Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service to manage User-Flow Step Form #75

Open
3 tasks
ChristopherPHolder opened this issue Nov 6, 2023 · 0 comments
Open
3 tasks

Service to manage User-Flow Step Form #75

ChristopherPHolder opened this issue Nov 6, 2023 · 0 comments

Comments

@ChristopherPHolder
Copy link
Owner

ChristopherPHolder commented Nov 6, 2023

Description

Logic related to the user-flow step should be moved out of the template and into a separate service.

Public Methods

It should have a method that when called can reset to a default. This actually means clearing it and leaving it with a type control only or it can also add the default values and controls for a newly selected step type.

  • resetStepForm

It should have a method to add new options or props to the step.

  • addStepProp

Public Properties

It should expose all the necessary information to display the form.

  • stepDetails$

type: formControl;
props: stepProp[]
optionalProps: stepProp[]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant