diff --git a/src/components/forms/InputField.tsx b/src/components/forms/InputField.tsx index 1a5e16ec04..6b19126a7c 100644 --- a/src/components/forms/InputField.tsx +++ b/src/components/forms/InputField.tsx @@ -15,7 +15,6 @@ import { DebounceInput } from 'react-debounce-input'; import { AiFillEye, AiFillEyeInvisible } from 'react-icons/ai'; import CommonProps from '../../common/interfaces/common-props.interface'; import { InputLabel } from './InputLabel'; -import { DatePicker } from '$app/components/forms/Datepicker'; interface Props extends CommonProps { label?: string | null; @@ -64,45 +63,33 @@ export function InputField(props: Props) { )}
- {props.type === 'date' ? ( - - ) : ( - { - props.onValueChange && props.onValueChange(event.target.value); - props.onChange && props.onChange(event); - }} - value={props.value} - list={props.list} - rows={props.textareaRows || 5} - step={props.step} - data-cy={props.cypressRef} - /> - )} + { + props.onValueChange && props.onValueChange(event.target.value); + props.onChange && props.onChange(event); + }} + value={props.value} + list={props.list} + rows={props.textareaRows || 5} + step={props.step} + data-cy={props.cypressRef} + /> {isInitialTypePassword && (