bcgov / bcgov/entity

Par value of share structure has the validations for values less than 1$

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

Description

![Screen Shot 2023-08-02 at 2.50.21 PM.png](https://images.zenhubusercontent.com/6347108fc454b6a35c909918/a4986383-1597-4f24-afa7-24c941125439)![Screen Shot 2023-08-02 at 2.50.21 PM.png](https://images.zenhubusercontent.com/6347108fc454b6a35c909918/57565914-d95a-4a72-ad3f-408f686c527f)**Describe the bug in the current situation**
When the user wants a par value that is less than 2 decimals then the UI throws a validation.

Steps to reproduce the behavior:
1. Go to 'https://dev.create.business.bcregistry.gov.bc.ca/incorporation-share-structure?id=T7eMeXOY1h&accountid=2079'
2. Login with BCREGA001
3. Try to enter the par value with more than 4 decimals
4. See the error

**Screenshots/ Visual Reference/ Source**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the share-structure UI linked in the reproduction steps and reproduce the validation by entering a par value with more than four decimals. The issue does not name a source file, test, or definitive expected precision, so confirm the intended sub-dollar validation behavior before determining that the UI accepts valid input without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.