A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
replace select by single input
SophieMdl59fcfbf78d25
diff --git a/src/modals/sections/SkillModal.js b/src/modals/sections/SkillModal.jsindex 38ecd275c..457af6834 100644--- a/src/modals/sections/SkillModal.js+++ b/src/modals/sections/SkillModal.js@@ -7,17 +7,9 @@ import ModalEvents from '../../constants/ModalEvents';import { getFieldProps } from '../../utils';import DataModal from '../DataModal';-const SKILL_LEVELS = [- 'Fundamental Awareness',- 'Novice',- 'Intermediate',- 'Advanced',- 'Expert',-];-const initialValues = {name: '',- level: SKILL_LEVELS[0],+ level: '',};const SkillModal = () => {@@ -25,9 +17,7 @@ const SkillModal = () => {const schema = Yup.object().shape({name: Yup.string().required(t('shared.forms.validation.required')),- level: Yup.string()- .oneOf(SKILL_LEVELS)- .required(t('shared.forms.validation.required')),+ level: Yup.string().required(t('shared.forms.validation.required')),});return (@@ -51,8 +41,7 @@ const SkillModal = () => {<Inputlabel={t('builder.skills.level')}- type="dropdown"- options={SKILL_LEVELS}+ placeholder="Fundamental Awareness"{...getFieldProps(formik, schema, 'level')}/></div>