-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$250] Address - Address without state can be saved #47616
Comments
Triggered auto assignment to @anmurali ( |
We think that this bug might be related to #wave-collect - Release 1 |
@anmurali FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-08-18 22:28:21 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Address without state can be saved What is the root cause of that problem?The App/src/components/AddressForm.tsx Lines 191 to 199 in 5a2602c
What changes do you think we should make in order to solve the problem?We should use POCScreen.Recording.2024-08-19.at.12.21.51.AM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Address without state can still be saved. What is the root cause of that problem?We don't use defaultValue when we validate the form What changes do you think we should make in order to solve the problem?We can add App/src/components/AddressForm.tsx Lines 192 to 198 in 62722e8
What alternative solutions did you explore? (Optional)N/A |
@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@anmurali Still overdue 6 days?! Let's take care of this! |
Job added to Upwork: https://www.upwork.com/jobs/~0142ffeec763fcd562 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Address without state can be saved What is the root cause of that problem?using What changes do you think we should make in order to solve the problem?we should change defaultValue to value and pass the <View style={isUSAForm ? styles.mhn5 : {}}>
<InputWrapper
InputComponent={isUSAForm ? StateSelector : TextInput}
inputID={INPUT_IDS.STATE}
label={translate('common.stateOrProvince')}
aria-label={translate('common.stateOrProvince')}
role={isUSAForm ? CONST.ROLE.PRESENTATION : undefined}
value={state}
maxLength={isUSAForm ? CONST.FORM_CHARACTER_LIMIT : undefined}
spellCheck={!isUSAForm}
onValueChange={onAddressChanged}
shouldSaveDraft={shouldSaveDraft}
/>
</View> What alternative solutions did you explore? (Optional)Result: |
📣 @brad-isbell! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@abzokhattab's proposal looks good to me.
|
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @abzokhattab 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@anmurali @techievivek @abzokhattab @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Waiting for PR |
PR is Ready |
This issue has not been updated in over 15 days. @anmurali, @techievivek, @abzokhattab, @aimane-chnaif eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
I think this is ready for the payment, right? I don't see a message |
Correct. |
@anmurali Can we finish the payment here? Thanks. |
Regression Test Proposal
|
Payment Summary
|
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.21-3
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
App should not be able to save address without state.
Actual Result:
The address without state can be saved
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6575237_1723986353394.20240818_210053.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @aimane-chnaifThe text was updated successfully, but these errors were encountered: