Skip to content

[Question]: Does choices_selected check if selected is in choices for value_choices? #253

Closed
@llrs-roche

Description

@llrs-roche

What is your question?

This issue related to one on tmc which aims to provide better error messages: insightsengineering/teal.modules.clinical#1317. A simple example is:

choices_selected(
  value_choices("ADTTE", "PARAMCD", "PARAM"),
  "OS"
)

Where the selected value is not on the choices and it doesn't return an error or even a warning. Should it return one? I think it does and as such it would be a bug on teal.transform.

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions