-
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
[HOLD for payment 2024-01-18] [ON HOLD for #25397][$500] No required field validation on no value select on new dropdowns like state (validation works on older dropdown) #30195
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0131d5a852872ad378 |
Triggered auto assignment to @johncschuster ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Touched fields in the no not show the validation error What is the root cause of that problem?This type of fields, in this In src/components/Form.js the setTouchedInput(inputID);
if (props.shouldValidateOnBlur) {
onValidate(inputValues, !hasServerError);
} This event will never occur What changes do you think we should make in order to solve the problem?And then should explicitly call the const hidePickerModal = () => {
onBlur();
setIsPickerVisible(false);
}; Calling the const showPickerModal = () => {
setIsPickerVisible(true);
onTouched()
}; Monosnap.screencast.2023-10-23.21-17-42.mp4What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
+ function StatePicker({value, errorText, onInputChange, forwardedRef, label, ...rest}) {
const hidePickerModal = () => {
+ rest.onBlur && rest.onBlur();
setIsPickerVisible(false);
};
return (
<View>
<MenuItemWithTopDescription
...
onPress={() => {
+ rest.onPress && rest.onPress();
showPickerModal();
}}
/>
...
</View>
);
} ResultScreencast.from.22-11-2023.10.12.22.webm |
What are your thoughts on the above proposal, @fedirjh? |
@johncschuster, @fedirjh Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abdel-h66 @DylanDylann I have some concerns about the proposals because we are in the process of updating the If this bug persists after the refactor, we might need to consider a different solution than the one currently proposed. I believe the best course of action is to hold this until the pages are updated to use the new version of the |
I trust your judgment, @fedirjh! Let's put this on hold for now and come back to it after the refactor. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Form refactor is still in progress. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-01-18. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@fedirjh @DylanDylann paid |
$50 contract extended to @dhanashree-sawant |
BugZero Checklist:
|
@muttmuure it looks like I tagged you in when I went OOO for the holidays. I'm going to remove your assignment and take this off your plate. Thanks for pushing this forward! |
@nkuoch, @johncschuster, @fedirjh, @DylanDylann Huh... This is 4 days overdue. Who can take care of this? |
I've issued payment to @dhanashree-sawant and will work on the regression test steps issue today. |
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: 1.3.89.5
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
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1698055983660749
Action Performed:
Expected Result:
App should trigger required field validation when we focus / open any field and focus away
Actual Result:
App does not trigger required field validation when we open state fields in workspace connect bank account or any such new dropdown field throughout the app, close the field and focus on another field
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android.native.no.required.validation.on.state.mp4
Android: mWeb Chrome
Android.chrome.no.required.validation.on.state.mp4
iOS: Native
ios.native.no.required.validation.mov
iOS: mWeb Safari
ios.safari.no.required.validation.state.mov
MacOS: Chrome / Safari
mac.chrome.no.required.validation.mov
windows.chrome.focus.back.does.not.trigger.validation.mp4
MacOS: Desktop
mac.desktop.no.required.validation.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: