When entering passwords on the Xiaomi smartphone, the characters entered are displayed briefly as they are typed; this feature is similar to a small pop-up of the number you type and can be (de)activated at any time if desired.

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Passwords & security
Step 3:  Tap on  Privacy
Step 4:  Enable or disable  Show passwords
  1. Open the Settings
  2. Tap on Passwords & security
  3. Tap on Privacy
  4. Enable or disable Show passwords

Xiaomi Instructions