# Ion-select - interface=popover not working, opens as alert

**URL:** <https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387>\
**Category:** ionic-v3\
**Created:** [December 14, 2017, 2:56pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387 "2017-12-14T14:56:44Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philipp\_Websteps](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Philipp\_Websteps](https://forum.ionicframework.com/u/Philipp_Websteps)\
**Post date:** [December 14, 2017, 2:56pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/1 "2017-12-14T14:56:44Z")

</div>

Can anyone help me with this?

I have added to my ion-select the interface like this.

```auto
<ion-select interface="popover" /*some other code*/> ...</ion-select>

```

but it still opens as an alert.

I’ve seen that you need Ionic 3.1.0, but I just looked over it and I got the newest dependencies.

Output from the command ionic info:  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/3/6/36d18a85de43c1e021052c106c21d5d8648dfc02.png)

My dependencies in package.json:  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/e/b/eb3e92f913ae254143091b1d625229cfd00da94a.png)

I would appreciate it so much, if someone is able to help me.

---

<div class="post-metadata">

**Author:** ![Philipp\_Websteps](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Philipp\_Websteps](https://forum.ionicframework.com/u/Philipp_Websteps)\
**Post date:** [December 16, 2017, 9:35am UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/2 "2017-12-16T09:35:23Z")

</div>

push.  
does anyone have the solution or same problems`

---

<div class="post-metadata">

**Author:** ![ashutosh10g](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashutosh10g/32/123407_2.png) [@ashutosh10g](https://forum.ionicframework.com/u/ashutosh10g)\
**Post date:** [December 31, 2018, 9:21pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/3 "2018-12-31T21:21:56Z")

</div>

Did you get solution for this? i am also facing same issue! I am using ionic 4

---

<div class="post-metadata">

**Author:** ![Philipp\_Websteps](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Philipp\_Websteps](https://forum.ionicframework.com/u/Philipp_Websteps)\
**Post date:** [January 2, 2019, 10:17am UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/4 "2019-01-02T10:17:23Z")

</div>

yeah. it’s only working for selecting a single option.  
not working with multiple=‘true’

---

<div class="post-metadata">

**Author:** ![indraraj26](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/indraraj26/32/131213_2.png) [@indraraj26](https://forum.ionicframework.com/u/indraraj26)\
**Post date:** [January 2, 2019, 11:16am UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/5 "2019-01-02T11:16:21Z")

</div>

Please do report to github/ionicv3

---

<div class="post-metadata">

**Author:** ![Philipp\_Websteps](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Philipp\_Websteps](https://forum.ionicframework.com/u/Philipp_Websteps)\
**Post date:** [January 2, 2019, 11:41am UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/6 "2019-01-02T11:41:58Z")

</div>

nope. it’s even mentioned in the api docs

---

<div class="post-metadata">

**Author:** ![ashutosh10g](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashutosh10g/32/123407_2.png) [@ashutosh10g](https://forum.ionicframework.com/u/ashutosh10g)\
**Post date:** [January 3, 2019, 3:28am UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/7 "2019-01-03T03:28:36Z")

</div>

I have used below code but everytime it shows an alert NOT popover! what mistake i am doing?

```auto
<ion-select interface="popover" multiple="false" placeholder="Select One" (ionChange)="onLanguageChange($event)" #mySelect>
    <ion-select-option value="en" [selected]="setLang == 'en'" >English - {{setLang}}</ion-select-option> 
    <ion-select-option value="pt" [selected]="setLang == 'pt'">Português - {{setLang}}</ion-select-option> 
</ion-select>

```

---

<div class="post-metadata">

**Author:** ![Philipp\_Websteps](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Philipp\_Websteps](https://forum.ionicframework.com/u/Philipp_Websteps)\
**Post date:** [January 3, 2019, 9:38am UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/8 "2019-01-03T09:38:59Z")

</div>

pls try it with ‘ion-option’ instead of ‘ion-select’ and leave the multiple out.  
like this:

```auto
<ion-select interface="popover" placeholder="Select One" (ionChange)="onLanguageChange($event)" #mySelect>
    <ion-option value="en" [selected]="setLang == 'en'" >English - {{setLang}}</ion-option> 
    <ion-option value="pt" [selected]="setLang == 'pt'">Português - {{setLang}}</ion-option> 
</ion-select>

```

between you probably don’t even need to declare the selected directly. it should be handled as soon as setLang is set as [(ngModel)] on ion-select directly.

---

<div class="post-metadata">

**Author:** ![ashutosh10g](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashutosh10g/32/123407_2.png) [@ashutosh10g](https://forum.ionicframework.com/u/ashutosh10g)\
**Post date:** [January 3, 2019, 1:32pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/9 "2019-01-03T13:32:43Z")

</div>

Hi Philipp\_Websteps:  
I tried what you suggested, but it does not work. My screen even do not open it. Its compile time error. Please see the screen below:  
 ![sd](https://global.discourse-cdn.com/ionicframework/original/3X/0/9/09aad00baf63eb53296ab187ab384a23c2d65f1b.jpeg)

---

<div class="post-metadata">

**Author:** ![Philipp\_Websteps](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Philipp\_Websteps](https://forum.ionicframework.com/u/Philipp_Websteps)\
**Post date:** [January 3, 2019, 5:05pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/10 "2019-01-03T17:05:58Z")

</div>

which version of ionic are you using? pls send your package.json  
I’m refering to ionic v3

---

<div class="post-metadata">

**Author:** ![ashutosh10g](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashutosh10g/32/123407_2.png) [@ashutosh10g](https://forum.ionicframework.com/u/ashutosh10g)\
**Post date:** [January 4, 2019, 1:11am UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/11 "2019-01-04T01:11:50Z")

</div>

package.json

```auto
{
  "name": "weightTraining",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "~7.0.0",
    "@angular/core": "~7.0.0",
    "@angular/forms": "~7.0.0",
    "@angular/http": "~7.0.0",
    "@angular/platform-browser": "~7.0.0",
    "@angular/platform-browser-dynamic": "~7.0.0",
    "@angular/router": "~7.0.0",
    "@ionic-native/app-rate": "^5.0.0-beta.22",
    "@ionic-native/core": "5.0.0-beta.21",
    "@ionic-native/file": "^4.18.0",
    "@ionic-native/native-storage": "^5.0.0-beta.22",
    "@ionic-native/network": "^5.0.0-beta.22",
    "@ionic-native/social-sharing": "^5.0.0-beta.22",
    "@ionic-native/spinner-dialog": "^5.0.0-beta.22",
    "@ionic-native/splash-screen": "5.0.0-beta.21",
    "@ionic-native/status-bar": "5.0.0-beta.21",
    "@ionic-native/text-to-speech": "^5.0.0-beta.22",
    "@ionic/angular": "4.0.0-beta.16",
    "@ionic/pro": "2.0.3",
    "@ionic/storage": "^2.2.0",
    "@ngx-translate/core": "^11.0.1",
    "@ngx-translate/http-loader": "^4.0.0",
    "cordova-android": "7.1.4",
    "cordova-plugin-apprate": "1.4.0",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-dialogs": "^2.0.1",
    "cordova-plugin-file": "6.0.1",
    "cordova-plugin-globalization": "^1.11.0",
    "cordova-plugin-inappbrowser": "^3.0.0",
    "cordova-plugin-ionic-keyboard": "^2.1.3",
    "cordova-plugin-ionic-webview": "^2.3.1",
    "cordova-plugin-native-spinner": "1.1.3",
    "cordova-plugin-nativestorage": "^2.3.2",
    "cordova-plugin-nuance-speechkit": "2.0.1",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-tts": "0.2.3",
    "cordova-plugin-whitelist": "^1.3.3",
    "cordova-plugin-x-socialsharing": "5.4.3",
    "core-js": "^2.6.1",
    "es6-promise-plugin": "4.2.2",
    "ionic-cache": "^3.1.3",
    "ionic-cache-observable": "0.0.6",
    "ng2-translate": "^5.0.0",
    "rxjs": "~6.3.3",
    "rxjs-compat": "^6.3.3",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/architect": "~0.10.0",
    "@angular-devkit/build-angular": "^0.11.4",
    "@angular-devkit/core": "~7.0.0",
    "@angular-devkit/schematics": "~7.0.0",
    "@angular/cli": "^7.1.4",
    "@angular/compiler": "~7.0.0",
    "@angular/compiler-cli": "~7.0.0",
    "@angular/language-service": "~7.0.0",
    "@ionic/angular-toolkit": "^1.2.2",
    "@types/jasmine": "^2.8.14",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "^10.12.18",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "^5.4.2",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.1.6"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-apprate": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {
        "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
      },
      "cordova-plugin-ionic-keyboard": {},
      "cordova-plugin-nativestorage": {},
      "cordova-plugin-x-socialsharing": {
        "ANDROID_SUPPORT_V4_VERSION": "24.1.1+"
      },
      "cordova-plugin-native-spinner": {},
      "cordova-plugin-tts": {},
      "cordova-plugin-file": {}
    },
    "platforms": [
      "android"
    ]
  }
}

```

I am using  
CLI 4.6.0  
npm 6.4.1  
Angular 6

---

<div class="post-metadata">

**Author:** ![Philipp\_Websteps](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Philipp\_Websteps](https://forum.ionicframework.com/u/Philipp_Websteps)\
**Post date:** [January 7, 2019, 12:55pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/12 "2019-01-07T12:55:43Z")

</div>

you are using ionic-4. I can’t help you with this one

---

<div class="post-metadata">

**Author:** ![ashutosh10g](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashutosh10g/32/123407_2.png) [@ashutosh10g](https://forum.ionicframework.com/u/ashutosh10g)\
**Post date:** [January 16, 2019, 5:15pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/13 "2019-01-16T17:15:16Z")

</div>

Who can help me, anybody please reply if you any answer

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:59pm UTC](https://forum.ionicframework.com/t/ion-select-interface-popover-not-working-opens-as-alert/115387/14 "2021-07-19T21:59:17Z")

</div>

Closed on July 19, 2021, 9:59pm UTC


