Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Ok" button not appearing in <select> tag on Ionic App

Tags:

html

ios

ionic

I'm developing an Ionic app, and for some reason, when I use the tag, the "Ok" button doesn't appear - please check the screenshot below.

I'm using a <select> with <option> inside.

Any idea on what may be happening?

enter image description here

like image 218
Bruno Monteiro Avatar asked Oct 07 '15 19:10

Bruno Monteiro


1 Answers

Have you Tried to do this ?

.run(function($ionicPlatform) {
  $ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)
    if(window.cordova && window.cordova.plugins.Keyboard) {

  //Change this to false to return accessory bar 
      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
    }
    if(window.StatusBar) {
      // org.apache.cordova.statusbar required
      StatusBar.styleDefault();
    }
  });
});

According to this, this code could bring back your keyboard accessories.

like image 114
Thiago Elias Avatar answered Oct 04 '22 05:10

Thiago Elias