HTML select “Done” label not showing on Ionic for iOS

后端 未结 3 1903
礼貌的吻别
礼貌的吻别 2021-01-05 00:18

I am building an iOS-app using the Ionic-framework. When I use select-elements, I do not get the header with the label \"Done\" when selecting items in the menu on iOS-nativ

3条回答
  •  萌比男神i
    2021-01-05 00:49

    If you still have this issue, my case was a keyboard plugin conflict between cordova-plugin-keyboard and cordova-plugin-ionic-keyboard.

    So check on config.xml to see if you have more than one plugin and if so remove with:

    cordova plugin remove [plugin-name]

    then install proper plugin:

    ionic cordova plugin add ionic-plugin-keyboard

    https://ionicframework.com/docs/native/keyboard/

    Then you will be able to use cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);

    Hope it helps.

提交回复
热议问题