diff --git a/client/src/components/Filters/Form.js b/client/src/components/Filters/Form.js index 4056802a..9e395f2e 100644 --- a/client/src/components/Filters/Form.js +++ b/client/src/components/Filters/Form.js @@ -28,6 +28,7 @@ const Form = (props) => { className="form-control" placeholder={t('enter_name_hint')} validate={[required]} + normalizeOnBlur={data => data.trim()} />
@@ -39,6 +40,7 @@ const Form = (props) => { className="form-control" placeholder={t('enter_url_or_path_hint')} validate={[required, isValidPath]} + normalizeOnBlur={data => data.trim()} />