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

md-tab without header #5529

Closed
eqbalsajadi opened this issue Jul 6, 2017 · 6 comments
Closed

md-tab without header #5529

eqbalsajadi opened this issue Jul 6, 2017 · 6 comments

Comments

@eqbalsajadi
Copy link

To use tab as multi-page component just add following css code:

md-tab-group[no-header] > md-tab-header{   
    display:none;
}

And add no-header attribute in md-tab-group component

<md-tab-group no-header>
...
</md-tab-group>
@jelbourn jelbourn closed this as completed Jul 7, 2017
@eqbalsajadi
Copy link
Author

eqbalsajadi commented Jul 7, 2017

@donroyco @Chan4077
Why not!? I'm using this patch to show a wizard form

for example in this code it is working properly:

<md-tab-group no-header #wizard>
    <md-tab label="Page1">
        ...
        <button md-button (click)="wizard.selectedIndex=1">Next</button>
    </md-tab>
    <md-tab label="Page2">
        ...
        <button md-button (click)="wizard.selectedIndex=0">Back</button>
    </md-tab>
</md-tab-group>

@donroyco
Copy link
Contributor

donroyco commented Jul 7, 2017

@eqbalsajadi There are many other better ways to achieve this kind of functionality.

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

@eqbalsajadi
Copy link
Author

eqbalsajadi commented Jul 7, 2017

@donroyco I though this is feature request + suggested solution

anyway sorry for that

@willshowell
Copy link
Contributor

@eqbalsajadi Due to the volume of issue reports and limited resources to triage them, the team asks that you follow the issue template when filing a new issue. For feature requests, this means describing in detail the current limitations and your motivation/use-case. A standardized template helps them quickly identify duplicate requests and prioritize fixes and features.

Since you mentioned wizard form, you may be interested in #508 where there is already lots of discussion about tab reuse and accessibility concerns.

@eqbalsajadi
Copy link
Author

eqbalsajadi commented Jul 7, 2017

@willshowell I got it. i forgot issue label. thank you
#508 is a good component for wizard functionality. but as it is not ready for now, I prefer to have a temporary solution like this.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
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

4 participants