Mobile Polyform

Mobile Polyform

For making a less bad form experience on Android

$0.00

premiumFrye

premiumFrye

Member since 2014

Details

Version:
1.0
Ionic:
1.x  
Platforms:
iOS, Android  
Released:
6 years ago
Updated:
6 years ago
Category:
Plugins
Tags:
,

A angjularjs directive for making Android behave a bit more like iOS when filling out forms using the ionic framework.

Just include the module 'pf-mobilePolyform', and add the attribute directive 'mobile-polyform' to your form. When a user hits 'Ok'/Return on an input field, or clicks an option on a select input on Android (iOS unaffected) will automatically advance the cursor to the next input field, or open the select option. If an input is the last field on the form, 'Ok'/Return will submit the form (pending $valid). Also fixes an angular defect that prevents ng-model from updating on a select form on all platforms.

(if testing in Chrome, turn on mobile emulation, and make sure an Android device is selected for correct UA string sniffing)