Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PasswordType form type doesn't work correctly #76

Open
markbeazley opened this issue Oct 9, 2024 · 1 comment
Open

PasswordType form type doesn't work correctly #76

markbeazley opened this issue Oct 9, 2024 · 1 comment

Comments

@markbeazley
Copy link

If you try and use a PasswordType field for a setting, it works on first save, but as the field doesn't get populated with the value when the form is loaded it ends up saving a blank value.

Not sure the best way to fix it, as only saving when PasswordType fields have a value would stop you from removing the value once saved, might need an extended Form type that adds a clear field checkbox, or and I've not tested this users would just have to use the always_empty option.

Not 100% sure if its something that should be handled in the plugin.

@maximehuran
Copy link
Member

Hi @markbeazley

Did you try as you suggest with always_empty set to false ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants