Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<option value="{k}">
{ExampleEnum[k]}
</option>
))}
<span>
<select>) => {
this.setState({
ex2Pronoun: parseInt(event.target.value, 10),
});
}}>
<option value="{GenderConst.UNKNOWN_PLURAL}">
Gender:
</option>
<option value="{GenderConst.NOT_A_PERSON}">
Not a person
</option>
<option value="{GenderConst.UNKNOWN_PLURAL}">
Unknown (Plural)
</option>
<option value="{GenderConst.UNKNOWN_SINGULAR}">
Unknown (singular)
</option>
<option value="{GenderConst.MALE_SINGULAR}">
Male (singular)
</option>
<option value="{GenderConst.FEMALE_SINGULAR}">
Female (singular)</option></select></span>
<option value="{k}">
{ExampleEnum[k]}
</option>
))}
<span>
<select>) => {
this.setState({
ex2Pronoun: parseInt(event.target.value, 10),
});
}}>
<option value="{GenderConst.UNKNOWN_PLURAL}">Gender:</option>
<option value="{GenderConst.FEMALE_SINGULAR}">
Female (Singular)
</option>
<option value="{GenderConst.MALE_SINGULAR}">
Male (Singular)
</option>
<option value="{GenderConst.NOT_A_PERSON}">
Not a person
</option>
<option value="{GenderConst.UNKNOWN_PLURAL}">
Unknown (Plural)
</option>
<option value="{GenderConst.UNKNOWN_SINGULAR}">
Unknown (Singular)
</option>
</select></span>