ResearchKit / ResearchKit/ResearchKit
style issue for choiceAnswerFormat textChoice as a formItem
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.

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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