Empty option is not selected if field is empty, using the radio buttons widget

Created on 13 June 2023, about 1 year ago
Updated 10 August 2023, 10 months ago

Problem/Motivation

When using the radio buttons field widget, the empty option is not selected if the field is empty.

Steps to reproduce

  1. Create an optional boolean field and set the field widget to Check boxes/radio buttons
  2. Create an entity with this field. Select the N/A radio button and save the entity.
  3. Edit the entity. The N/A radio button is not checked anymore. No radio button is checked.

Proposed resolution

Select the empty option if the field is empty.

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Form 

Last updated about 2 hours ago

Created by

🇧🇪Belgium DieterHolvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024