Error with password field

Hello,
In a form I create a text field as password type.
The insertion works correctly but when returning to the record the password field is displayed without data (blank) and if the field is marked as required it shows an error.

1

2