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

Selected members are not shown on validation error in new membership page #283

Open
Yann-BUTSCHER-EIRL opened this issue Apr 25, 2021 · 0 comments
Labels
Bug Something isn't working as it should be Scheduled This commit will be solved in an upcoming version

Comments

@Yann-BUTSCHER-EIRL
Copy link
Collaborator

Scenario

Go to membership/new
Add a new membership with invalid data in the form (e.G string instead of number)
Submit the form

Expected behavior

The validation fails and we are being redirected to membership/new
The selected members are shown in the form
The error message appears

Current behavior

The validation fails and we are being redirected to membership/new
The selected members are not visible, nor the rest of the form
No error message appears, the user doesn't know what happened

Todo

  • Load the selected members thanks to javascript
    • You can do it the same way it's done on membership edit
@Yann-BUTSCHER-EIRL Yann-BUTSCHER-EIRL added the Bug Something isn't working as it should be label Apr 25, 2021
@Yann-BUTSCHER-EIRL Yann-BUTSCHER-EIRL added the Scheduled This commit will be solved in an upcoming version label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should be Scheduled This commit will be solved in an upcoming version
Projects
None yet
Development

No branches or pull requests

1 participant