Skip to content

Commit 748d630

Browse files
committed
Added condition to change dropdown state and display dropdown when needed
1 parent 49cabaa commit 748d630

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Components/forms/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ class Forms extends Component {
100100
err: null
101101
})
102102
}
103+
if (name === 'hearAboutCYF') {
104+
this.setState({
105+
displayDropdown: value === 'Employer'
106+
})
107+
}
103108
}
104109

105110
validateForm = values => {

0 commit comments

Comments
 (0)