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

18788 Added correct-name sub-components for AML #225

Merged
merged 2 commits into from
Dec 22, 2023
Merged

Conversation

severinbeauvais
Copy link
Collaborator

@severinbeauvais severinbeauvais commented Dec 22, 2023

Issue #: bcgov/entity#18788

Description of changes:

  • added CorrectAmlAdopt sub-component
  • added CorrectAmlNumbered sub-component
  • updated whitespace in CorrectName
  • added new sub-components, prop and options to CorrectName
  • removed unneeded layout in CorrectNameToNumber
  • added optional legal type check to validateNameRequest()

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

Severin Beauvais added 2 commits December 20, 2023 11:20
- added CorrectAmlNumbered sub-component
- updated whitespace in CorrectName
- added new sub-components, prop and options  to CorrectName
- removed unneeded layout in CorrectNameToNumber
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sample new layout (whitespace):

image

@@ -26,6 +26,7 @@
<v-text-field
id="nr-number"
v-model="nrNumber"
autofocus
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to be careful when using this (because too many doesn't work well), but in specific cases this brings focus to the text field, which is very nice.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good to know!

@@ -4,17 +4,13 @@
ref="form"
v-model="formValid"
>
<v-row no-gutters>
<v-col>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

A single row with a single column is a lazy way to lay out a flex panel, and in fact it's not needed here.

image

Copy link
Collaborator

@ketaki-deodhar ketaki-deodhar left a comment

Choose a reason for hiding this comment

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

Looks good

@severinbeauvais severinbeauvais merged commit ef929a5 into main Dec 22, 2023
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.

2 participants