Skip to content

Commit

Permalink
fix: add field_type for static fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed Mar 16, 2021
1 parent da6ae8d commit 85ed53f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/FormView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const FormView = ({
<Grid.Column>
<Field
{...field}
field_type={field.field_type || 'text'}
name={field.label}
value={field.value}
onChange={() => {}}
Expand Down

0 comments on commit 85ed53f

Please sign in to comment.