Skip to content

Free Listings + Paid Ads: Fix a compatibility issue with the Form component in WC 6.9 #1672

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

Merged

Conversation

eason9487
Copy link
Member

@eason9487 eason9487 commented Sep 14, 2022

Changes proposed in this Pull Request:

It relates to #1610

The <Form ref={ formRef }> use was added in 93249e6 (#1616) and was the only one use case. However, WC 6.9 changes the exposed interfaces of Form component, so it needs another way to do the same logic.

This PR fixes the exception in the target audience setup of onboarding flow.

image

Screenshots:

Kapture.2022-09-14.at.18.59.54.mp4

Detailed test instructions:

  1. Use WC 6.9
  2. Go to step 2 of the onboarding flow.
  3. Remove a target audience country that has set the relevant shipping rate and time.
  4. Check if the removed country is also removed from the shipping rate and time settings.

Changelog entry

@eason9487 eason9487 added the changelog: none Skip changelog entry for this PR label Sep 14, 2022
@eason9487 eason9487 self-assigned this Sep 14, 2022
@github-actions github-actions bot added changelog: fix Took care of something that wasn't working. type: bug The issue is a confirmed bug. labels Sep 14, 2022
@eason9487 eason9487 requested a review from a team September 14, 2022 11:19
@eason9487 eason9487 removed the changelog: fix Took care of something that wasn't working. label Sep 14, 2022
Copy link
Contributor

@puntope puntope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM

Tested locally

@eason9487 eason9487 merged commit 7a78a48 into feature/1610-streamlined-onboarding Sep 15, 2022
@eason9487 eason9487 deleted the fix/1610-compatible-wc-6-9 branch September 15, 2022 02:20
@eason9487 eason9487 added changelog: fix Took care of something that wasn't working. and removed changelog: none Skip changelog entry for this PR labels Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: fix Took care of something that wasn't working. type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants