Skip to content

Conversation

@Jonimz
Copy link
Contributor

@Jonimz Jonimz commented Jan 21, 2026

Fixes #1655

Issue Description
After creating an event and navigating to the Volunteer Details tab, users see a table of volunteers along with a checklist that controls which columns are displayed. Currently, the Insurance Information option is checked by default, causing the insurance column to appear automatically.

Changes
Updated the default state of the Insurance Information checkbox (insuranceSelect) to be unchecked on page load
Ensured the insurance column is hidden by default
Kept existing behavior for all other checklist options and table functionality

Screenshot 2026-01-21 at 3 36 16 PM Screenshot 2026-01-21 at 3 45 53 PM

Image
Testing
Checked out the branch
git checkout insurance-info
git pull
Created or opened an event
Navigated to Volunteer Details
Verified the Insurance Information column is hidden by default
Verified checking the Insurance option displays the column
Verified unchecking it hides the column again

@Karina-Agliullova Karina-Agliullova self-requested a review January 21, 2026 21:00
})
}

$("#insuranceSelect").prop("checked", false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solution works, but I don't recommend using it. Instead, look at your HTML file, as it has the "checked" next to insurance info over there, and so your JS is basically overriding HTML, which is not ideal. Instead, just remove the "checked" from HTML, and it should produce the same result, and it won't override anything

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thank you.

@github-actions
Copy link

View Code Coverage

Copy link
Contributor

@Karina-Agliullova Karina-Agliullova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pr is looking good, issue was resolved!

@Karina-Agliullova Karina-Agliullova merged commit 31e64ec into development Jan 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Insurance information unchecked by default

3 participants