Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@petit-aigle

Description

@petit-aigle

πŸ“ 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 πŸ™Œ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions