bcgov / bcgov/entity

Create-UI Range of dates available to pick for business start date

Open
#13,127 3 comments 0 reactions 0 assignees View on GitHub
bug ENTITY - DO NOT USE Priority2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in current situation**
Currently when you go to select the Business start date in registration filing using an NR the description says the start date can be up to 90 days in the future however you can only select up the current month plus two months into the future. So depending on the current date you cannot select 90 days in the future.

**Impact of this bug**
Describe the impact, i.e. what the impact is, and number of users impacted.
All users who register a new nr who want to register a future start date
will be unable to.

**Chance of Occurring (high/medium/low/very low)**
high

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
None

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Log on as staff or with service card.
2. Select an approved NR
3. Click on Register using this NR
4. Scroll down to 'Business start date'
5. Click Select 'Start Date' input box
6. Go as far in the future as you can
7. Max date you can select is < 90 days away.

**Actual/ observed behavior/ results**
Max date you can select is < 90 days away.

**Expected behavior**
Given I am registering an NR
Then I can select a start day up to 90 days in the future.

**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.

![Max date bug.png](https://images.zenhubusercontent.com/62717af8eca90b5099d264a7/76e20f64-6f3d-4514-8632-d88fa0dd5af4)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Create-UI registration flow and locate the Business start date input and its date-picker configuration. Reproduce the issue by selecting the furthest available date, then verify that the picker allows a start date exactly 90 days in the future.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.