So I use the standard code for select like so:
<label class="item item-input item-select" ng-class="{ 'has-error-lr' : postTaskForm.type.$invalid && postTaskForm.$submitted, 'valid-lr' : postTaskForm.type.$valid && postTaskForm.$submitted}">
<div class="input-label"> Video Job Type: </div>
<select ng-model="postTask.type" name="type" ng-required="true">
<option>Commercial</option>
<option>Interview</option>
<option selected>Training Lesson</option>
<option>Live Event Recording</option>
</select>
</label>
When render in iOs, it look like this:
As you see the top confirm part is totally missing. What is wrong? How can I get the confirm button in native iOs?
in your app.js file you should see this piece of code
angular.module('config', [])
.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) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
if(window.StatusBar) {
StatusBar.styleDefault();
}
});
})
try setting cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
instead of true
so this is final code
angular.module('config', [])
.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) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
}
if(window.StatusBar) {
StatusBar.styleDefault();
}
});
})
obviously some of your code will be different the important thing is just changing the hideKeyboardAccessoryBar to false.