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

Closing Add Member Modal Now Resets State #418

Merged
merged 2 commits into from
Jul 29, 2020
Merged

Conversation

leon-i
Copy link
Contributor

@leon-i leon-i commented Jul 28, 2020

Resolves #417

Adding a member now clears the state so their information does not appear again when opening modal. Closing a modal while in progress of adding a member now resets state as well.

@colbymorrison colbymorrison self-requested a review July 29, 2020 03:36
Copy link
Contributor

@colbymorrison colbymorrison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me, when I return to the Modal after clicking away or after a successful submit the input fields are highlighted red:
Screen Capture_select-area_20200728203517

Ideally, they should reset to not be highlighted.

@leon-i
Copy link
Contributor Author

leon-i commented Jul 29, 2020

Weird - I wasn't getting that locally. I'll look into it.

@leon-i
Copy link
Contributor Author

leon-i commented Jul 29, 2020

This is how it looks for me locally:

ezgif com-video-to-gif

Perhaps the issue is browser based? I'm using chrome.

Copy link
Contributor

@ibeckermayer ibeckermayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge, though let's figure out what @colbymorrison's issue is and at least make an issue for it.

@colbymorrison
Copy link
Contributor

Hm yeah, since it looks that way for you I’d guess it is a browser thing or something related to that, I’m using Firefox.

@colbymorrison colbymorrison self-requested a review July 29, 2020 22:05
@ibeckermayer
Copy link
Contributor

Added an issue here

@ibeckermayer ibeckermayer merged commit 6832309 into dev Jul 29, 2020
@ibeckermayer ibeckermayer deleted the member-modal-fix branch July 29, 2020 22:58
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

Successfully merging this pull request may close these issues.

Add Member Modal data should be cleared when exited
3 participants