Unable to click button in ion-navbar


#1

Hello All,

I am new to ionic. I just want to put two buttons in ion-navbar for “Edit” and “Share”.

This is my plunker link:

https://plnkr.co/edit/FLi1cFcjOKR5osuHmMkW?p=preview

Whichever button I clicked, it is always “Share” button clicked.

This is my ionic info:

cli packages:

    @ionic/cli-utils  : 1.12.0
    ionic (Ionic CLI) : 3.12.0

global packages:

    cordova (Cordova CLI) : 7.0.1 

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.2.3
    Ionic Framework    : ionic-angular 3.7.1

System:

    Android SDK Tools : 26.1.0
    Node              : v8.0.0
    npm               : 4.6.1 
    OS                : Linux 4.4

Misc:

    backend : legacy

Thanks in advance.