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

Ability have wizard without modal popup and option to hide left nav steps #1483

Closed
anavgale opened this issue Sep 19, 2017 · 10 comments
Closed
Labels
type: support Support, implementation or questions

Comments

@anavgale
Copy link

Select one ... (check one with "x")

[ ] bug
[x] feature request
[ ] enhancement

Expected behavior

There are situations where you need wizard functionality but not in a modal popup but on a normal page. So there should be flags to open the wizard in a normal web page instead of modal popup, also the flag for hiding the left nav steps.

Actual behavior

Not able to change the behaviour of Wizard to not have popup and not able to hide the left nav.

Reproduction of behavior

  • Include a link to the reproduction scenario you created by forking one of the Clarity Plunker Templates:

Environment details

  • Angular version: 2.0.X

  • Clarity version:
    0.10.5

  • OS and version:

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

@anavgale anavgale changed the title Ability have wizard with modal popup and option to hide left nav steps Ability have wizard without modal popup and option to hide left nav steps Sep 19, 2017
@mathisscott
Copy link
Contributor

What is the use case for hiding the left nav steps?

Re: Wizard not being inside a modal. It's not something we recommend or support but it's possible.

Check out: https://github.com/vmware/clarity/blob/master/src/app/wizard/wizard-inline.demo.html

@mathisscott mathisscott added type: support Support, implementation or questions status: needs info Need more information from the issue author. labels Sep 19, 2017
@mathisscott
Copy link
Contributor

@anavgale : Any more info that you can share on your use case.

@anavgale
Copy link
Author

anavgale commented Oct 2, 2017

Ok, the use case is, I need to display a wizard/steps where user needs to fill big lengthy forms, user can only go from one page to next in order and finally submit the form.

Modal popup is generally used to capture small amount of information, so I am checking if I can have the same wizard functionality without popup and left nav.

Thanks.

@anavgale
Copy link
Author

anavgale commented Oct 2, 2017

@mathisscott I tried using the link shared by you, but I get error when I include "clrWizardPreventModalAnimation" property. Also even after adding the class "clr-wizard--inline" it still shows as modal popup for wizard.

Uncaught Error: Template parse errors:
Can't bind to 'clrWizardPreventModalAnimation' since it isn't a known property of 'clr-wizard-page'.

Thanks for your help.

@mathisscott
Copy link
Contributor

clrWizardPreventModalAnimation is an input on clr-wizard -- not clr-wizard-page.

That's why it says clrWizard at the front and not clrWizardPage.

Beyond that, can you reproduce your issues in a plunkr?

I may be able to help you with hiding the left nav if I know why you are trying to do that.

@anavgale
Copy link
Author

anavgale commented Oct 2, 2017

@mathisscott I need to hide the steps as user is not allowed to jump the steps, and pages and order is dependent on the user input. The page wizard is going to display is dependent on what is user's input to the current page.

@mathisscott
Copy link
Contributor

If you post a plunkr of a wizard that works roughly as you describe, I can show you how to hide the nav.

@mathisscott
Copy link
Contributor

@anavgale
I'm assuming you got what you needed. Thanks!

@mathisscott mathisscott removed the status: needs info Need more information from the issue author. label Oct 11, 2017
@KashMoneyMillionaire
Copy link

Now here: html and here: ts

@github-actions
Copy link

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: support Support, implementation or questions
Projects
None yet
Development

No branches or pull requests

3 participants