Skip to content

Commit

Permalink
fix: removed 'required' option for field type 'static_text
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Mar 18, 2024
1 parent 4bbdeb1 commit 32c4ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fieldSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default (props) => {
'description',
'field_type',
...schemaExtenderValues.fields,
'required',
...(props.field_type === 'static_text' ? [] : ['required']),
],
},
],
Expand Down

0 comments on commit 32c4ef5

Please sign in to comment.