Fix: validation of website.

This commit is contained in:
elforjani3
2020-11-28 20:40:30 +02:00
parent 11827a7d1a
commit 29abb1ae84
2 changed files with 2 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ export default function CustomerFormAfterPrimarySection({}) {
label={<T id={'website'} />}
inline={true}
>
<InputGroup {...field} />
<InputGroup placeholder={'http://'} {...field} />
</FormGroup>
)}
</FastField>

View File

@@ -6,7 +6,6 @@ import classNames from 'classnames';
import { CLASSES } from 'common/classes';
import { inputIntent } from 'utils';
/**
* Vendor form after primary section.
*/
@@ -66,7 +65,7 @@ function VendorFormAfterPrimarySection() {
label={<T id={'website'} />}
inline={true}
>
<InputGroup {...field} />
<InputGroup placeholder={'http://'} {...field} />
</FormGroup>
)}
</FastField>