Skip to content

Improve ConnectAccountOnboarding: control field behavior and disable "Skip" on steps #153

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

Open
petit-aigle opened this issue Apr 18, 2025 · 0 comments

Comments

@petit-aigle
Copy link

πŸ“ Description:

Hello,

We are using the ConnectAccountOnboarding component in our application and would love to have more control over the user experience, especially in the following areas:


βœ… Requested Features

1. Field-level control

We'd like to be able to configure certain behaviors on individual fields:

  • ❗ Force specific fields to appear, even if not part of eventually_due
  • πŸ‘οΈ Hide fields if already prefilled
  • πŸ”’ Make fields read-only if already prefilled (prevent users from editing them)

2. Disable "Skip" button

We are requesting the ability to disable the "Skip" button either:

  • Globally (for the entire onboarding flow)
  • Or selectively (for specific steps such as representative, company, etc.)

Currently, users can sometimes click "Skip" on steps that are essential β€” like identity documents or banking details. This can lead to:

  • Users believing the onboarding is complete, when it’s not
  • Confusion about what's missing
  • KYC failure without clear feedback

πŸ’‘ Example proposed configuration

<ConnectAccountOnboarding
  collectionOptions={{
    fields: 'eventually_due',
    futureRequirements: 'include',
    customization: {
      forceFields: ['representative.document'], // force fields to show
      readonlyIfPrefilled: ['email'],
      hideIfPrefilled: ['support_phone'],
      disableIgnoreForAllSteps: true, // πŸ”’ disable all "Skip" buttons
      disableIgnoreForSteps: ['representative', 'company'], // πŸ”’ or just some steps
    },
  }}
/>

πŸ™ This would help improve the reliability and clarity of the onboarding process for end users, and prevent accidental skips of critical compliance steps.

Thanks for considering this enhancement πŸ™Œ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant