Skip to content

Create a custom component for Yes/No questions #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
prestoncabe opened this issue Mar 18, 2025 · 0 comments
Open

Create a custom component for Yes/No questions #90

prestoncabe opened this issue Mar 18, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@prestoncabe
Copy link
Collaborator

prestoncabe commented Mar 18, 2025

Probably the most common type of question on eligibility screening forms is a "Yes/No" question.

Image

In order to create one of these in Camunda Modeler, we have to add a "Radio group" component and then update it with an options expression that maps "Yes" to true and "No" to false (the only way we know how to get the form output to be a boolean instead of a string).

Image

This is tedious, and it is exacerbated by the fact that we cannot copy/paste existing components that we've already updated in this way.

Ideally, we would have a "Yes/No question" component available in the modeler that allows us to add these types of questions in one step.

Camunda Forms (form-js) provides the hooks necessary to do this as documented here.

@prestoncabe prestoncabe added the enhancement New feature or request label Mar 18, 2025
@prestoncabe prestoncabe self-assigned this Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant