ui-material-components
ui-material-components copied to clipboard
Secure property for type password freezing the screen and disabling the other text fields. IOS
Steps to reproduce
Add following tags to the page. <MDTextField #username ios:variant="underline" class="large-input-field" autocapitalizationType="none" autocorrect="false" [automationText]="Username" [returnKeyType]="next" [hint]="Username"> </MDTextField> <MDTextField #password ios:variant="underline" class="large-input-field" autocapitalizationType="none" secure="true" autocorrect="false" [automationText]="Password" [returnKeyType]="done" [hint]="Password"> </MDTextField>
Enter username and then password. After entering password try to edit username, it will freezes the screen, unable to enter data, resulting in crash of application. You can add signIn() function linked to the returnPress of Password field, and add function to it. It will also result in same behaviour resulting in crash of app on IOS. Occurring only in IOS
Which platform(s) does your issue occur on?
- iOS
- emulator or device.
Please, provide the following version numbers that your issue occurs with:
- CLI: 6.8.0 (run
tns --version
to fetch it) - IOS version: 2.7.0
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
@ruminder90 i need a simple repro example to fix it. And not in Angular it adds too much making it really hard to debug
It working fine with the sample application I created, however in my other project I am not able to edit the username field after entering the password. There were not much logs, only logs related to "unable to simultaneously constraints". However on making secure=false, everything works fine. Can any one tell me what could be possible cause creating the issue.
Hi, could this be related to the following?
https://github.com/material-components/material-components-ios/issues/10130 [TextFields] MDCTextField crashes in iOS 14 when "Done" keyboard button is pressed with secure text entry on
@chuckmitchell i see might be it. I started the migration to the new comp but it was still missing a lot of "features". The code is here. If you want to have a go at it ... I dont have much time those days
Facing a similar issue with the secure text field - have anyone fixed it or have any workaround?
Same here... I hate iOS... it's always before my public release that this kind of fuc*** skd14 is making me crazy.... I cannot publish an app with clear password.... please...
I've temporary replace all my "secure" MD input with simple NS Textfield....the secure is ok for those one.
@lostation @akanksha0514 @chuckmitchell could you try 5.3.4-alpha.0+3df91bf4 ? It has the new implementation of the textfield. Not sure it is perfect yet though