fedora-infra / fas

Fedora Account System
https://admin.fedoraproject.org/accounts
GNU General Public License v2.0
40 stars 50 forks source link

After failing form validation for adding a new group, can't edit the `name` field #254

Closed ryanlerch closed 6 years ago

ryanlerch commented 7 years ago

If you fail the form validation for the new group form, FAS3 correctly informs you of the fields you are missing, but for some reason the name field cant be edited after failing the validation.

For example, if you open up the add group form: http://localhost:5002/settings/add/group and not fill out anything, it will complain that the name and displayname are required, But then i cannot add a name, because it is no longer a text input field.

Here is the blank form, before save changes is pressed: before-fas3

And this is what is presented back to the user after save changes is pressed: after-fas3