Textfield password alias not working
See original GitHub issueWe had a password text field defined as so:
const PasswordField = MKTextField
.textfieldWithFloatingLabel()
.withPassword(true)
.withPlaceholder('Password:')
.withStyle(styles.textfieldWithFloatingLabel)
.withFloatingLabelFont({fontSize: 10, fontStyle: 'italic', fontWeight: '200'})
.withTintColor(MKColor.Red)
.build();
After upgrading to r-n .30 from .24, it was no longer hiding the password characters. We did a workaround by specifying the actual proptype name on textfield secureTextEntry
and the characters are now masked.
const PasswordField = MKTextField
.textfieldWithFloatingLabel()
//works with correct property name, not with alias
.withSecureTextEntry(true)
.withPlaceholder('Password:')
.withStyle(styles.textfieldWithFloatingLabel)
.withFloatingLabelFont({fontSize: 10, fontStyle: 'italic', fontWeight: '200'})
.withTintColor(MKColor.Red)
.build();
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (1 by maintainers)
Top Results From Across the Web
Automatic password confirmation in alias - unix - Stack Overflow
You can use the -S option to cause sudo to read the password from standard input. Try this: alias x='sudo -S ifconfig en0...
Read more >Exception while trying to get password for alias h... - 340045
HI, after i have integrated CDH with Openldap, I found there is a WARNING in container log like below, try to - 340045....
Read more >How to input a password when using an alias - Ask Ubuntu
My question is : is it possible to ask for the password so that it doees not appear in the terminal at the...
Read more >Changed my Primary Alias . Now I have login problems. Tries ...
PIN/Password with the normal 'Lock Screen' Options... Now, all I get is the option to 'Sign-In', from there it takes me to the...
Read more >keytool-Key and Certificate Management Tool
If the modifier env or file is not specified, then the password has the ... from the standard input), signs it using alias's...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just tested to see if the
value
alias in textfield would work and it is also not working.I was going to work on PR for this, but I honestly don’t think these provide any real value. IMHO just changing the docs would be better. It keeps the builder props inline with r-n props and you don’t have to make any changes if they change property names.
use <MKTextField … password={true} /> works