Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Dynamic wizard #188

Open
saileshkush95 opened this issue Oct 28, 2020 · 5 comments
Open

Dynamic wizard #188

saileshkush95 opened this issue Oct 28, 2020 · 5 comments

Comments

@saileshkush95
Copy link

Can we create wizard dynamically

@alvarosabu
Copy link
Collaborator

Hi @saileshkush95 , do you mean a multipage (each page a form) wizard?

@saileshkush95
Copy link
Author

Yes, I'm mean multi step form

@alvarosabu
Copy link
Collaborator

Ok @saileshkush95 so with the current implementation, you have 2 ways to achieve that:

  1. Either use a dynamic-form component for each page and listen to the changes with @change="valueChange" and save all the forms values in the same object so they're available at the end or.
  2. Use 1 (one) dynamic-form component and apply the multistep using CSS and customClass property for each field.

@saileshkush95
Copy link
Author

Defenately I'll try as you suggested.

@eyleron
Copy link

eyleron commented Jan 29, 2022

Should the declarative form model support the concept of a "page" of fields, like you will with fieldset?

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

No branches or pull requests

3 participants