Hi guys, I experience a weird problem:
When I use an input field, I can get its value by e.g.
document.getElementById("input_password").value
or
$('#input_password').val()
Now, when I declare an input field as type="password" instead of type="text", the input text will be masked (show "*******" instead of the actual password). No problem for the intel xdk emulator - it will give me the unmasked values.
BUT after I compile everything, I'm only getting the masked value ("****").
I'm using Intel XDK 2673 on ubuntu, with App Framework 3.
Code snipplet:
<div class="table-thing with-label widget uib_w_85 d-margins" data-uib="app_framework/input" data-ver="1">
<label style="min-width:100px;" class="narrow-control label-inline">Passwort</label>
<input class="wide-control" placeholder="Passwort" type="password" id="input_password">
</div>
链接已复制
I'm having this same issue and just building/packaging for Mobile Web (HTML5) no Cordova. It doesn't occur in desktop Chrome browser but it happens in Android Chrome under latest Marshmallow. Actually, our previous version of this which had an APK build from an earlier XDK is also broken on Android so it must be an issue with Webview as well. I haven't found a workaround yet other than changing the type to text and thereby having no mask on the field.
Randy -- even when building a web app you have the choice to use Crosswalk or Android. I know Android 6 (Marshmallow) has a modern webview that is regularly updated, just like Android 5, but it would still be worth trying with a Crosswalk embedded build, to see if you get different results.
