App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-09-20] The label of the field is lost after typing something

Open aldo-expensify opened this issue 5 years ago β€’ 16 comments

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:

  1. Navigate to /bank-account/
  2. Click "Connect manually"
  3. Type anything any of the two text inputs

Expected Result:

The label should become smaller an move up, just like the text fields in the Company step:

Screen Shot 2021-09-02 at 1 28 53 PM

Actual Result:

The label disappeared

Screen Shot 2021-09-02 at 1 28 23 PM

Workaround:

The user can delete the content of the input to see the label again (in case he forgets)

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

View all open jobs on GitHub

aldo-expensify avatar Sep 02 '21 20:09 aldo-expensify

Triggered auto assignment to @sonialiap (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Sep 02 '21 20:09 MelvinBot

Proposed Solution

In the BankAccountStep, we should be updating props from placeholder to label.

// Rename prop placeholder ---> label

<ExpensiTextInput
      label={this.props.translate('bankAccount.routingNumber')}

<ExpensiTextInput
      label={this.props.translate('bankAccount.accountNumber')}

image

In addition to this, the current fields don't have any margin between them:

image

So we should add bottom margin as well


<ExpensiTextInput
      label={this.props.translate('bankAccount.routingNumber')}
      style={[styles.mb5]}

akshayasalvi avatar Sep 02 '21 22:09 akshayasalvi

@akshayasalvi Note: Space between routing number and account number is already handled in discussed in #4834 & Handled in PR #4991

Santhosh-Sellavel avatar Sep 03 '21 04:09 Santhosh-Sellavel

Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Sep 03 '21 13:09 MelvinBot

Triggered auto assignment to @kevinksullivan (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Sep 03 '21 20:09 MelvinBot

Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

MelvinBot avatar Sep 07 '21 19:09 MelvinBot

Posted - https://www.upwork.com/jobs/~017df793db7d6ebcfe

kevinksullivan avatar Sep 07 '21 22:09 kevinksullivan

Triggered auto assignment to @Jag96 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

MelvinBot avatar Sep 07 '21 22:09 MelvinBot

@akshayasalvi good find, your proposal (without updating the margin since it's already in progress) looks good to me! @kevinksullivan we're good to hire @akshayasalvi for this job, @akshayasalvi feel free to get started on a PR once you're hired in Upwork!

Jag96 avatar Sep 08 '21 00:09 Jag96

I've applied for the Upwork job post too. If the issue is assigned in Github, do I still need to wait to get hired on Upwork before I start working on the PR?

akshayasalvi avatar Sep 09 '21 00:09 akshayasalvi

@akshayasalvi hired on upwork.

kevinksullivan avatar Sep 09 '21 18:09 kevinksullivan

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

botify avatar Sep 10 '21 18:09 botify

πŸš€ Deployed to staging by @Jag96 in version: 1.0.96-1 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Sep 10 '21 20:09 botify

πŸš€ Deployed to production by @francoisl in version: 1.0.97-0 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Sep 13 '21 18:09 botify

Paid!

Jag96 avatar Sep 27 '21 17:09 Jag96

Thank you!

akshayasalvi avatar Sep 27 '21 19:09 akshayasalvi