Skip to content

radio buttons don't respect type-bind during submission #2687

@hutattedonmyarm

Description

@hutattedonmyarm

Describe the bug
If type-bind is configured, and a radio button input (input-typeset to list and repeatable to false) is configured to only appear for specific type-bind values, the radio buttons will ignore this configuration and are always visible

To Reproduce
Steps to reproduce the behavior:

  1. Configure type-bind
  2. Configure a field with input-typeset to list, repeatable to false and a specific type-bind value
  3. Start a submission
  4. The radio buttons will always be visible, no matter if the type-bind matches or not

I'm not sure where to reproduce this on the demo, because I cannot view the submission configuration. However, type-bind is not handled in src/app/shared/form/builder/ds-dynamic-form-ui/models/list/dynamic-list-radio-group.model.ts while it is handled in other input models

Expected behavior
Radio buttons only appear of the type-bind field matches

Metadata

Metadata

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions