psychTestR icon indicating copy to clipboard operation
psychTestR copied to clipboard

Create radio button page helper

Open remidefleurian opened this issue 7 years ago • 2 comments

Radio buttons can only be unselected, using selected = character(0) on the first iteration of a page. For further iterations, the previous answers are invisibly allocated if no answer is selected.

remidefleurian avatar Sep 05 '18 13:09 remidefleurian

See https://stackoverflow.com/questions/39535980/r-shiny-no-initial-value-selected-in-radiobuttons?rq=1

remidefleurian avatar Sep 05 '18 13:09 remidefleurian

Currently psychTestR does not explicitly support radio button pages. We should create a helper function for creating such pages, and then watch out for the issue you describe above.

pmcharrison avatar Nov 07 '18 15:11 pmcharrison