bug fix
This commit is contained in:
parent
30dab59ed6
commit
09ee7cc8bd
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export default function Input({title, placeholder, onChange, value}){
|
|||
</label>
|
||||
<div className="mt-1">
|
||||
<input
|
||||
value={(value as string).length>0?value:""}
|
||||
value={(value as string)?.length>0?value:""}
|
||||
type="text"
|
||||
className="block w-full form-input rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"
|
||||
placeholder={placeholder}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue