This commit is contained in:
anovazzi1 2023-02-15 18:49:35 -03:00
commit 09ee7cc8bd

View file

@ -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}