When using Ionic, I have a select button with options for okText and cancelText. The issue I am facing is that when I click on okText, the menu closes as expected due to this attribute. However, I am interested in implementing it through click events. Below is my code snippet:
<ion-select okText="Okay" cancelText="Dismiss">
...
</ion-select>
I am looking for a way to navigate to another page when a function is declared in my .ts file.