ResearchKit / ResearchKit/ResearchKit

style issue for choiceAnswerFormat textChoice as a formItem

Open
#1,269 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
5.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

What did you do?

When I tried to add TextChoice questions as an ORKFormItem, I found that when selecting a certain textChoice, the font of it will turn blue. And when unselect it, it will not return to the default color. Check the image example below.

multipleChoiceIssue

What did you expect to happen?

Unselecting the textChoice should reset it styles.

What actually happened?

Unselecting the textChoice does not change its fontColor, which still remains blue.

What are your versions?
  • iOS: 12.1
  • ResearchKit: 2.0.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ORKFormItem and TextChoice selection-style implementation in the ResearchKit iOS codebase, then reproduce the issue described on iOS 12.1 or a comparable setup. Done means selecting and unselecting a textChoice restores its default font color rather than leaving it blue.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.