Skip to content

Commit

Permalink
add textarea to be viewable as readonly in edit mode
Browse files Browse the repository at this point in the history
field `note` was not showing up in edit mode for users that only had readonly perms for it
  • Loading branch information
henrinie-nc committed Aug 28, 2024
1 parent cc99912 commit 14170ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/form/FormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ const FormFieldInput = ({
case FieldTypeOptions.STRING:
case FieldTypeOptions.HIDDEN:
case FieldTypeOptions.FRACTIONAL:
case FieldTypeOptions.TEXTAREA:
return value

case FieldTypeOptions.INTENDED_USE:
Expand Down

0 comments on commit 14170ac

Please sign in to comment.