I've seen lots of answers on SO and none of them works in my case. My model form looks as follows:
class ChangePasswordForm(forms.Form):
current_password = forms.CharField(
max_length=64,
widget=forms.PasswordInput(
attrs={'placeholder': 'Current Password', 'autocomplete': 'off'}))
new_password = forms.CharField(
min_length=6,
max_length=64,
widget=forms.PasswordInput(
attrs={'placeholder': 'New Password', 'autocomplete': 'off'}))
confirm_password = forms.CharField(
min_length=6,
max_length=64,
widget=forms.PasswordInput(
attrs={'placeholder': 'Confirm New Password', 'autocomplete': 'off'}))
Still current_password, new_password and confirm_password are populating on the form. I've checked on Safari and Google Chrome and I still have the same issue. Can anyone tell me what am I doing wrong?