You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes returns an object of type ProtectedValue, sometime is a string. This is pushing us to implement the readout of that field in the following way:
const passwordField = entry.fields.get('Password');
let password = '';
if (passwordField instanceof kdbxweb.ProtectedValue) {
password = (passwordField as kdbxweb.ProtectedValue).getText();
} else {
password = passwordField;
}
Is there a reason for this behavior or is there a better way to prevent/fetch this?
Thanks
The text was updated successfully, but these errors were encountered:
We are experiencing some inconsistent behavior with the Password field. Following code:
Sometimes returns an object of type ProtectedValue, sometime is a string. This is pushing us to implement the readout of that field in the following way:
Is there a reason for this behavior or is there a better way to prevent/fetch this?
Thanks
The text was updated successfully, but these errors were encountered: