This repository was archived by the owner on Sep 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
blade/front/src/components/parts/RecommendationAttributeForm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,11 +127,11 @@ class RecommendationAttributeForm extends Component {
127127 </ Col >
128128 < Col md = { 12 } >
129129 < div className = "form-check form-check-inline" >
130- < input className = "form-check-input" type = "radio" name = { attribute . key } id = { attribute . key } value = "1" checked = { this . state . requirements . value === 1 } onChange = { this . handleChangeValue . bind ( this ) } />
130+ < input className = "form-check-input" type = "radio" name = { attribute . key } id = { attribute . key } value = "1" checked = { parseInt ( this . state . requirements . value ) === 1 } onChange = { this . handleChangeValue . bind ( this ) } />
131131 < label className = "form-check-label" htmlFor = { attribute . key } > Yes</ label >
132132 </ div >
133133 < div className = "form-check form-check-inline" >
134- < input className = "form-check-input" type = "radio" name = { attribute . key } id = { attribute . key } value = "0" checked = { this . state . requirements . value === 0 } onChange = { this . handleChangeValue . bind ( this ) } />
134+ < input className = "form-check-input" type = "radio" name = { attribute . key } id = { attribute . key } value = "0" checked = { parseInt ( this . state . requirements . value ) === 0 } onChange = { this . handleChangeValue . bind ( this ) } />
135135 < label className = "form-check-label" htmlFor = { attribute . key } > No</ label >
136136 </ div >
137137 </ Col >
You can’t perform that action at this time.
0 commit comments