Problem/Motivation

Conditionally required state change on radio field field widgets are still marked complete.

Screenshot showing conditionally required radio options still seen as complete.

Steps to reproduce

  1. Add a field_gate Boolean checkbox field to a content type.
  2. Add a List (text) or a 2nd Boolean field.
  3. In form display, add a Tabs group.
  4. Add a Tab containing these fields.
  5. Change the widget for the List (text) or Boolean field to Checkbox/radio buttons.
  6. Add a Conditional Field to Require the radio field when field_gate is checked.
  7. Visit the add node form.
  8. Check the Gate box.
  9. Observe that the Tab is still marked complete even though the required radio options has nothing checked.

Proposed resolution

Ensure that required radio fields are picked up by the complete sensor.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jcandan created an issue. See original summary.

jcandan’s picture

Assigned: jcandan » Unassigned
Status: Active » Needs review

jcandan’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • jcandan committed c593ceda on 1.x
    feat: #3586776 Fix radio field requiredness sensing
    

  • jcandan committed 0eaf7b40 on 1.x
    feat: #3586776 Add radio options test coverage
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.