diff options
Diffstat (limited to 'frontend/src/components/Inputs/Text.js')
| -rw-r--r-- | frontend/src/components/Inputs/Text.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/Inputs/Text.js b/frontend/src/components/Inputs/Text.js index 866da91..0a26d42 100644 --- a/frontend/src/components/Inputs/Text.js +++ b/frontend/src/components/Inputs/Text.js @@ -1,15 +1,15 @@ import CharLimit from "../decorators/CharLimit"; import React from "react"; import {Labelled} from "./shared"; +import {Input} from "../Form/Input"; export const Text = React.forwardRef(({label, id, readOnly, onChange, value, maxLength, autoFocus}, ref) => { return ( <Labelled label={label} value={value}> - <input + <Input ref={ref} name={label} readOnly={readOnly} - className="lt-shadow" placeholder="Title" id={id} type="text" |