Skip to content
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

20989-add initial value prop #255

Merged
merged 2 commits into from
May 10, 2024
Merged

20989-add initial value prop #255

merged 2 commits into from
May 10, 2024

Conversation

ketaki-deodhar
Copy link
Collaborator

@ketaki-deodhar ketaki-deodhar commented May 9, 2024

Issue #: /bcgov/entity#20989

Description of changes:

Add initial value prop to retrieve value for a draft filing.

some initial value tests:

image

image

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).

@ketaki-deodhar ketaki-deodhar marked this pull request as ready for review May 9, 2024 22:34
@ketaki-deodhar ketaki-deodhar self-assigned this May 9, 2024
export const JurisdictionInitialValue = Template.bind({})
JurisdictionInitialValue['args'] = {
showUsaJurisdictions: false,
initialValue: {
Copy link
Collaborator

@JazzarKarim JazzarKarim May 9, 2024

Choose a reason for hiding this comment

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

Wait, so I see below the type of this prop is a string while here it's an object?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

looking into it....

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

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

Looks as expected. Does it work?

@ketaki-deodhar
Copy link
Collaborator Author

ketaki-deodhar commented May 10, 2024

Looks as expected. Does it work?

Tested with some scenarios, screenshots above.

@severinbeauvais
Copy link
Collaborator

Looks as expected. Does it work?

Tested with some scenarios, screenshots above.

Looks good!

@ketaki-deodhar ketaki-deodhar merged commit 83b5fc2 into main May 10, 2024
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