Skip to content

attribute "mode" ignored in the select component #10531

@almothafar

Description

@almothafar

Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request

Current behavior:
The popup modal stay on the default mode of the application

Expected behavior:
mode must be applied regardless the default of the system, as what described here: https://ionicframework.com/docs/v2/api/components/select/Select/

Steps to reproduce:

<ion-select [(ngModel)]="selectedOption" mode="md">
  <ion-option *ngFor="let opt of options" [value]="opt.value">{{opt.label}}</ion-option>
</ion-select>

This is the app config:

export const IonicAppConfig = {
  pageTransition: 'ios-transition',
  iconMode: 'ios',
  mode: 'ios'
};

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.3
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.2.0
Xcode version: Not installed

P.S: do you want me to close this issue after 1 or 2 days? since you love close issues even if they are not solved !? or maybe you need to rename this framework to: ionic-close-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions