Skip to content

Commit

Permalink
Insert values in input fields
Browse files Browse the repository at this point in the history
Everything is in place. But the value doesn't show up (Need to be fixed)
  • Loading branch information
bruceboelens committed Jul 17, 2018
1 parent 1e81419 commit b4a3a90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,4 @@ typings/
.env

build/
<<<<<<< HEAD
=======

>>>>>>> master
*.css
16 changes: 0 additions & 16 deletions src/components/form/FormField.css

This file was deleted.

4 changes: 4 additions & 0 deletions src/components/form/FormField.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const FormField = ({
label,
type,
placeholder,
value,
id,
meta: { asyncValidating, touched, error },
required = false
}) =>
Expand All @@ -16,6 +18,8 @@ const FormField = ({
{...input}
type={type}
placeholder={placeholder}
defaultValue={value}
id={id}
required={required}
/>
{touched &&
Expand Down

0 comments on commit b4a3a90

Please sign in to comment.