change method to autofill password.
fix bug for query input field with type password