diff --git a/src/Components/Input/TextInput.tsx b/src/Components/Input/TextInput.tsx index 11cf066e..c9b91d8e 100644 --- a/src/Components/Input/TextInput.tsx +++ b/src/Components/Input/TextInput.tsx @@ -10,11 +10,12 @@ type InputTextProps = { inputStyle?: string; defaultValue?: string; placeholder?: string; + autocomplete?: string updateFormValue?: (value: string ) => void; } -export function TextInput({labelTitle, labelStyle, type, dataField, containerStyle, inputStyle, defaultValue, placeholder, updateFormValue} : InputTextProps){ +export function TextInput({labelTitle, labelStyle, type, dataField, containerStyle, inputStyle, defaultValue, placeholder, autocomplete, updateFormValue} : InputTextProps){ return(
@@ -22,7 +23,7 @@ export function TextInput({labelTitle, labelStyle, type, dataField, containerSty {labelTitle} : " "} - updateFormValue&& updateFormValue(e.target.value)}className={`tw-input tw-input-bordered tw-w-full ${inputStyle ? inputStyle : ""}`} /> + updateFormValue&& updateFormValue(e.target.value)}className={`tw-input tw-input-bordered tw-w-full ${inputStyle ? inputStyle : ""}`} />
) } diff --git a/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.tsx b/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.tsx index 3c4cae9c..6fe081ce 100644 --- a/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.tsx +++ b/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.tsx @@ -5,8 +5,8 @@ import { Item } from '../../../../types' export const PopupStartEndInput = ({item}:{item?:Item}) => { return (
- - + +
) }