mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-20 11:41:38 +10:00
solving bugs reported in GH issues
This commit is contained in:
@ -25,7 +25,7 @@ const EducationModal = () => {
|
||||
field: Yup.string().required(t('shared.forms.validation.required')),
|
||||
degree: Yup.string(),
|
||||
gpa: Yup.string(),
|
||||
startDate: Yup.date().required(t('shared.forms.validation.required')),
|
||||
startDate: Yup.date(),
|
||||
endDate: Yup.date().when(
|
||||
'startDate',
|
||||
(startDate, yupSchema) =>
|
||||
|
||||
@ -41,7 +41,7 @@ const SkillModal = () => {
|
||||
|
||||
<Input
|
||||
label={t('builder.skills.level')}
|
||||
placeholder="Fundamental Awareness"
|
||||
placeholder="Novice"
|
||||
{...getFieldProps(formik, schema, 'level')}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -8,7 +8,7 @@ import { getFieldProps } from '../../utils';
|
||||
import DataModal from '../DataModal';
|
||||
|
||||
const initialValues = {
|
||||
url: 'https://',
|
||||
url: '',
|
||||
network: '',
|
||||
username: '',
|
||||
};
|
||||
@ -55,7 +55,7 @@ const SocialModal = () => {
|
||||
<Input
|
||||
label={t('builder.social.url')}
|
||||
className="col-span-2"
|
||||
placeholder="https://twitter.com/KingOKings"
|
||||
placeholder="https://"
|
||||
{...getFieldProps(formik, schema, 'url')}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -10,7 +10,7 @@ import DataModal from '../DataModal';
|
||||
const initialValues = {
|
||||
company: '',
|
||||
position: '',
|
||||
website: 'https://',
|
||||
website: '',
|
||||
startDate: '',
|
||||
endDate: '',
|
||||
summary: '',
|
||||
@ -23,7 +23,7 @@ const WorkModal = () => {
|
||||
company: Yup.string().required(t('shared.forms.validation.required')),
|
||||
position: Yup.string().required(t('shared.forms.validation.required')),
|
||||
website: Yup.string().url(t('shared.forms.validation.url')),
|
||||
startDate: Yup.date().required(t('shared.forms.validation.required')),
|
||||
startDate: Yup.date(),
|
||||
endDate: Yup.date().when(
|
||||
'startDate',
|
||||
(startDate, yupSchema) =>
|
||||
@ -64,7 +64,7 @@ const WorkModal = () => {
|
||||
|
||||
<Input
|
||||
label={t('shared.forms.website')}
|
||||
placeholder="https://example.com/"
|
||||
placeholder="https://"
|
||||
{...getFieldProps(formik, schema, 'website')}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user