# How to select a tab with Ionic5?

**URL:** <https://forum.ionicframework.com/t/how-to-select-a-tab-with-ionic5/189955>\
**Category:** ionic-v3\
**Created:** [May 22, 2020, 6:35pm UTC](https://forum.ionicframework.com/t/how-to-select-a-tab-with-ionic5/189955 "2020-05-22T18:35:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ioclaudio](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ioclaudio/32/126373_2.png) [@ioclaudio](https://forum.ionicframework.com/u/ioclaudio)\
**Post date:** [May 22, 2020, 6:40pm UTC](https://forum.ionicframework.com/t/how-to-select-a-tab-with-ionic5/189955/2 "2020-05-22T18:40:52Z")

</div>

Excuse me, I’ve solved in this way:  
`this.router.navigateByUrl('tabs/dashboard');`

Ref: [Ionic v4: Change active tab dynamically](https://forum.ionicframework.com/t/ionic-v4-change-active-tab-dynamically/156178/2)

---

_[View the full topic](https://forum.ionicframework.com/t/how-to-select-a-tab-with-ionic5/189955)._
