Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initialValue: this.state['permitted.user.email.domain'].value,
rules: [{
pattern: domainNameListPattern,
message: 'Invalid format. Example: redhat.com'
}]
})(
<input> this.updateFormField('permitted.user.email.domain', e.target.value)}
placeholder='redhat.com (comma separated for multiple)'/>
)}
{getFieldDecorator('gravatar.rating', {
initialValue: this.state['gravatar.rating'].value
})(
<select> this.updateFormField('gravatar.rating', e)}>
G Rating
PG Rating
R Rating
X Rating
</select>