Authorization date selection can be selected even before the founding date of the Extra Provisional Company.
Describe the bug in the current situation When the user searches for an Extra provincial company and in the Continuation Authorization component the date can be selected even before the founding date of the company which is not valid.
Steps to reproduce the behavior:
- Go to 'https://dev.bcregistry.ca/business/auth/home/decide-business'
- Start a Continuation In Filing.
- Search for "A0002744".
- In the Continuation Authorization component under the Authorization Date section the user is all free to choose a date even before the founding date of the company.
Screenshots/ Visual Reference/ Source

@yuisotozaki Should we add a validation here? The only validation so far is that this is not a future date.
@yuisotozaki @NaveenHebbale @OlgaPotiagalova This was never a requirement. Should we implement this check?
Olga agreed that we should implement this.
If the existing business is an expro then the authorization date cannot be before the Date of Incorporation (in BC).
If the existing business is manually entered then the authorization date cannot be before the Incorporation Date in Home Jurisdiction.
Test Notes
- verify with an expro (in which case, the registration date in BC is the minimum)
- verify with a manual entry (in which case, the incorporation date in home jurisdiction is the minimum)
- verify with no manual entry date (in which case, there is no minimum date -- but manual entry date is required and when you enter it, the validation will occur)
Also in this ticket, the text input fields (on page 1 only) automatically trim off any leading or trailing spaces and do not validate if only spaces are entered.