Skip to content

35482 - Updates to Business Lookup for Registration Flows - #326

Merged
meawong merged 1 commit into
bcgov:mainfrom
meawong:35482-Updates-for-Registration-Flow
Nov 12, 2026
Merged

meawong merged 1 commit into
bcgov:mainfrom
meawong:35482-Updates-for-Registration-Flow

Conversation

@meawong

@meawong meawong commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#35482

Description of changes:

  • Legal type exclusion: added an excludeLegalTypes prop (default []) and an effectiveLegalTypes getter (legalTypes minus exclusions). The search call now uses the getter, so callers can exclude a type (e.g. SP) without re-listing every other type
  • Results heading: added an optional resultsHeading prop. When set, a heading is shown above the results list and the no-data message. Nothing is rendered when it isn’t set
  • Configurable no-data copy: added noDataMessage (default No matches found.) and noDataDetails (default null). When details are set, the message is shown in bold with the details beneath it
  • All new props default to the previous behaviour, and the new classes are only applied when the new props are used, so existing consumers see no change

Added Results title:
image

Updated No Active Businesses Message:
image

Default:
image
image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-filings-ui license (Apache 2.0).

@meawong
meawong merged commit d97c548 into bcgov:main Nov 12, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants