* client: fix render field for DNS settings

This commit is contained in:
Ildar Kamalov 2019-12-20 17:02:42 +03:00
parent c9478592a2
commit 5ba45b91c9
1 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import { Trans, withNamespaces } from 'react-i18next';
import flow from 'lodash/flow';
import {
renderField,
renderInputField,
renderRadioField,
renderSelectField,
required,
@ -45,7 +45,7 @@ let Form = ({
<Field
name="ratelimit"
type="number"
component={renderField}
component={renderInputField}
className="form-control"
placeholder={t('form_enter_rate_limit')}
normalize={toNumber}
@ -90,7 +90,7 @@ let Form = ({
</div>
<Field
name="blocking_ipv4"
component={renderField}
component={renderInputField}
className="form-control"
placeholder={t('form_enter_ip')}
validate={[ipv4, required]}
@ -107,7 +107,7 @@ let Form = ({
</div>
<Field
name="blocking_ipv6"
component={renderField}
component={renderInputField}
className="form-control"
placeholder={t('form_enter_ip')}
validate={[ipv6, required]}