Closed ArwenQin closed 5 months ago
I updated the ContinuationInAuthorization component - The authorization date picker will reset, if the incorporation date changes to a date after the current selected authorization date. Otherwise the component will be valid regardless of the invalid authorization date, current:
/gcbrun
Temporary Url for review: https://business-create-dev--pr-705-mufawei3.web.app
I updated the ContinuationInAuthorization component - The authorization date picker will reset, if the incorporation date changes to a date after the current selected authorization date. Otherwise the component will be valid regardless of the invalid authorization date
~I don't think the ManualBusinessInfo component should change another component's object.~ My mistake, I read your comment before I looked at your code. This isn't an issue.
You can probably make the original code work properly by checking the form validity in ContinuationAuthorization.vue::onComponentValid() (and maybe you need a variable for form validity and you need to watch it, same as here).
/gcbrun
I updated the ContinuationInAuthorization component - The authorization date picker will reset, if the incorporation date changes to a date after the current selected authorization date. Otherwise the component will be valid regardless of the invalid authorization date
~I don't think the ManualBusinessInfo component should change another component's object.~ My mistake, I read your comment before I looked at your code. This isn't an issue.
You can probably make the original code work properly by checking the form validity in ContinuationAuthorization.vue::onComponentValid() (and maybe you need a variable for form validity and you need to watch it, same as here).
Got it, thanks! I updated the coding, much simpler now. Will re-validate the component when the minAuthoDate changes.
Temporary Url for review: https://business-create-dev--pr-705-mufawei3.web.app
/gcbrun
Temporary Url for review: https://business-create-dev--pr-705-mufawei3.web.app
Temporary Url for review: https://business-create-dev--pr-705-mufawei3.web.app
Temporary Url for review: https://business-create-dev--pr-705-mufawei3.web.app
/gcbrun
Temporary Url for review: https://business-create-dev--pr-705-mufawei3.web.app
@ArwenQin , thanks for all your testing and trying things, and pushing back when I was missing something key. Together, we got this! :)
Issue #: /bcgov/entity#21599
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).