Skip to content

Commit

Permalink
Merge pull request #356 from CityOfBoston/no-answer-radios
Browse files Browse the repository at this point in the history
Makes clicking "No Answer" radios work
  • Loading branch information
fionawhim authored and Fin Hopkins committed Nov 13, 2018
1 parent e614bd2 commit 1452fd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function renderSingleValueListAttribute(question, onChange) {

export default observer(function AttributeField({ question }: Props) {
const onChange = action('onChange', (ev: SyntheticInputEvent) => {
question.value = ev.target.value;
question.value = ev.target.value === '--no-answer-key--' ? '' : ev.target.value;
});

const onCheckbox = action('onCheckbox', (ev: SyntheticInputEvent) => {
Expand Down

0 comments on commit 1452fd2

Please sign in to comment.