Pressing 'Enter' key in Password field submits form when submit button is disabled
If you havenβt already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
- Navigate to
/bank-account/company. (Web) - Click the Password field at the end
- Press Enter key
Expected Result:
Nothing should have happened since the 'Save & Continue' button is disabled
Actual Result:
Submit action was triggered even if the 'Save & Continue' button was disabled. If the checkbox at the end is the only thing left to be filled, there isn't any red mark indicating that this is what is missing.
https://user-images.githubusercontent.com/87341702/129963638-5cbcbc94-e725-47c2-a15b-cab3d9aefd6f.mov
Workaround:
Doesn't block the flow, users can use the app normally
Platform:
Where is this issue occurring?
- Web
- Desktop App
- Mobile Web
Not sure about these:
- iOS
- Android
Triggered auto assignment to @trjExpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Oh yeah, this is weird. I'm also a tad confused because in your video you haven't filled in the other fields and we don't provide feedback that those need to be filled out too. Can they actually be left blank, @MitchExpensify @kevinksullivan what's the intended outcome here?
Oh yeah, this is weird. I'm also a tad confused because in your video you haven't filled in the other fields and we don't provide feedback that those need to be filled out too. Can they actually be left blank, @MitchExpensify @kevinksullivan what's the intended outcome here?
The current implementation puts an error message on a single field (first or last it finds?, not sure), even if all of them have errors. If I fixed the error with the password, another field would get the error message. Maybe we should try to show all error messages at once?
Related GH issues:
https://github.com/Expensify/Expensify/issues/171620 https://github.com/Expensify/App/issues/4730
You shouldn't be able to continue with any empty fields.
I think it makes sense to highlight all fields that are in error.
Hm yeah every field is required, and we should be highlighting every field that has an error when someone tries to move forward. @aldo-expensify does your PR also fix this issue and show the error message for ALL field errors, or should we create a separate one?
That PR doesn't address the part of showing all field errors. I suggest creating a new issue and then I can work on a PR against that
Separate issue for not outlining all errors ^
Separate issue for not outlining all errors ^
thanks @kevinksullivan
@trjExpensify Huh... This is 4 days overdue. Who can take care of this?
Ok so we are fixing the red outlines and removing the growls altogether in https://github.com/Expensify/App/issues/4785 , but we still need a PR to make sure you cannot hit enter and continue a flow whenever Save and Continue is disabled throughout each step of the VBA flow, right @aldo-expensify ?
Ok so we are fixing the red outlines and removing the growls altogether in #4785 , but we still need a PR to make sure you cannot hit enter and continue a flow whenever
Save and Continueis disabled throughout each step of the VBA flow, right @aldo-expensify ?
Yes we do, I can work on that tomorrow morning, unless we want to outsource to upwork?
If you have some scope to pick this up, it'd be great @aldo-expensify !
Not sure why botify closed this
π Deployed to staging by @luacmartins in version: 1.0.88-3 π
| platform | result |
|---|---|
| π€ android π€ | cancelled πͺ |
| π₯ desktop π₯ | cancelled πͺ |
| π iOS π | cancelled πͺ |
| πΈ web πΈ | success β |
π Deployed to production by @roryabraham in version: 1.0.90-2 π
| platform | result |
|---|---|
| π€ android π€ | success β |
| π₯ desktop π₯ | success β |
| π iOS π | failure β |
| πΈ web πΈ | success β |
@kevinksullivan, @aldo-expensify Eep! 4 days overdue now. Issues have feelings too...
Not overdue
Should we close this? Botify shows that IOS deploy failed, but since that was a while ago, I guess there were other deploys after that including this? I tested in new.expensify.com and it seems to be fixed there.
The #deployer slack room is a good place to ask deploy-related questions such as this. In the case of this deploy comment, we were able to finish deploying 1.0.90-2 to production manually. So yeah this was deployed on all platforms 8 days ago.
The #deployer slack room is a good place to ask deploy-related questions such as this. In the case of this deploy comment, we were able to finish deploying
1.0.90-2to production manually. So yeah this was deployed on all platforms 8 days ago.
Thanks @roryabraham , will ask there next time :)