bcgov / bcgov/zeva2

ZEVA 2 - Credit Applications - Validation Table- Auto-select Checkbox When Reason is Selected (IDIR)

Open
#446 1 comment 0 reactions 1 assignee Claimed by @tim738745 View on GitHub
Medium Task tested
Dominant language
TypeScript
Stars
1
Forks
6
Avg merge
14h 22m
Merged PRs (30d)
32

Description

**Describe the task**
Update the validation logic in the Create Application - All records Validate table.
Currently:
• If a user selects the Validate checkbox, the record can be saved
• If a user selects only a Reason, the record can not be saved
The task is to ensure that selecting a Reason automatically selects the corresponding Validate checkbox.

**Purpose**
To make the validation flow more intuitive and prevent user errors where a reason is selected but the record is not saved due to a missing checkbox selection.

**Acceptance Criteria**
- [x] When a user selects a Reason for a record: The Validate checkbox is automatically selected
- [x] The record can be successfully saved when a reason is selected
- [x] Manual checkbox selection is still supported
- [x] No conflicting states between checkbox and reason selection

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.