carp-dk / carp-dk/research.package

cannot make a question mandatory (not optional) - also no back button

Open
#107 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
52
Forks
47
Avg merge
5h 35m
Merged PRs (30d)
4

Description

example.
Next button starts grey, then goes active within 1 second.
Doesnt matter if optional: false, or commented out
For now, I have reverted back to https://github.com/appliedrd/research.package.git branch: realign

List likert7PointAgreeChoices = [
RPChoice(text: "Strongly disagree", value: 1),
RPChoice(text: "Disagree", value: 2),
RPChoice(text: "Somewhat disagree", value: 3),
RPChoice(text: "Neither agree or disagree ", value: 4),
RPChoice(text: "Somewhat agree", value: 5),
RPChoice(text: "Agree", value: 6),
RPChoice(text: "Strongly agree", value: 7),
];

RPChoiceAnswerFormat likert7PointAgreeChoicesAnswerFormat = RPChoiceAnswerFormat(
answerStyle: RPChoiceAnswerStyle.SingleChoice,
choices: likert7PointAgreeChoices,
);

RPQuestionStep s2_1 = RPQuestionStep(
identifier: "s2_1",
title: "1. Overall, the workshop was easy to understand.",
// optional: false,
answerFormat: likert7PointAgreeChoicesAnswerFormat);

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the example using RPQuestionStep with optional: false and the RPChoiceAnswerFormat shown in the issue, starting from the realign branch reference. Verify both reported behaviors: the Next button should not activate before a mandatory answer, and navigation should provide a working back button.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.