-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Web - State field in connect bank account does not display selected value on revisit #23792
Comments
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.State field in connect bank account does not display selected value on revisit. What is the root cause of that problem?We are setting the value for And as that component is never unmounted, the state is preserved/not getting reset. What changes do you think we should make in order to solve the problem?We need to set the state whenever we open or close the modal. App/src/components/StatePicker/index.js Lines 38 to 40 in a5373eb
That sets the searchValue. We can add the Alternatively, result - Screen.Recording.2023-07-28.at.5.32.52.PM.movWhat alternative solutions did you explore? (Optional) |
Same RCA but different component - #23768 I have submitted proposal there as well |
We can close this as a dupe. |
closing as dupe! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
App should display current selected value when we revisit state field in connect bank account like we do on timezone and pronouns page
Actual Result:
App does not display current selected when we change search in state field and revisit in connect back account.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.47-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
state.field.bank.account.inconsistent.mp4
Recording.3965.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690527470539109
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: