cds-snc / cds-snc/platform-forms-client

Radio button cannot be unselected once selection is made

Open
#7,097 2 comments 0 reactions 2 assignees Claimed by @anikbrazeau View on GitHub
bug needs design
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 8h
Merged PRs (30d)
85

Description

## Description
When using a radio button field, a user cannot deselect an option back to blank once a selection has already been made. In a situation where the field is not mandatory, this forces them to make a selection.

## Steps to reproduce
See attached screen recording

## Details
- Chrome
- Mac OS

## Expected behaviour
Be able to deselect my choice and leave the question blank when the field is not mandatory.

https://github.com/user-attachments/assets/c6b72983-2acd-4fdf-9220-51f53fe84f24

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.