Merge: + client: trim DNS blocklists fields on blur
Close #1634 Squashed commit of the following: commit 5f38da50b2075a9b5967aed39b62a8ab05e57a1c Author: ArtemBaskal <a.baskal@adguard.com> Date: Tue May 12 20:02:05 2020 +0300 + client: Trim fields on blur
This commit is contained in:
parent
a09e59a59d
commit
ead5a16b2a
|
@ -28,6 +28,7 @@ const Form = (props) => {
|
|||
className="form-control"
|
||||
placeholder={t('enter_name_hint')}
|
||||
validate={[required]}
|
||||
normalizeOnBlur={data => data.trim()}
|
||||
/>
|
||||
</div>
|
||||
<div className="form__group">
|
||||
|
@ -39,6 +40,7 @@ const Form = (props) => {
|
|||
className="form-control"
|
||||
placeholder={t('enter_url_or_path_hint')}
|
||||
validate={[required, isValidPath]}
|
||||
normalizeOnBlur={data => data.trim()}
|
||||
/>
|
||||
</div>
|
||||
<div className="form__description">
|
||||
|
|
Loading…
Reference in New Issue