Reflect password length in the hidden asterisks password display (#1204)

This commit is contained in:
Leendert de Borst
2025-09-13 11:10:24 +02:00
committed by Leendert de Borst
parent 03f692a62f
commit 88b32efa97

View File

@@ -135,7 +135,7 @@ const FormInputCopyToClipboard: React.FC<FormInputCopyToClipboardProps> = ({
};
const displayValue = type === 'password' && !isPasswordVisible
? '••••••••'
? '•'.repeat(value?.length || 0)
: value;
const styles = StyleSheet.create({