Skip to content

Commit

Permalink
DRYD-1284: Expand Annotation Note Field (#191)
Browse files Browse the repository at this point in the history
Co-authored-by: Ray Lee <ray.lee@lyrasis.org>
  • Loading branch information
mikejritter and ray-lee authored Jan 11, 2024
1 parent 894f53f commit 7c383ab
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/plugins/recordTypes/collectionobject/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ export default (configContext) => {
repeating: true,
view: {
type: CompoundInput,
props: {
tabular: true,
},
},
},
annotationType: {
Expand Down Expand Up @@ -154,6 +151,9 @@ export default (configContext) => {
}),
view: {
type: TextInput,
props: {
multiline: true,
},
},
},
},
Expand Down
12 changes: 8 additions & 4 deletions src/plugins/recordTypes/collectionobject/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,14 @@ const template = (configContext) => {

<Field name="annotationGroupList" subpath="ns2:collectionobjects_annotation">
<Field name="annotationGroup">
<Field name="annotationType" />
<Field name="annotationNote" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
<Panel>
<Row>
<Field name="annotationType" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
</Row>
<Field name="annotationNote" />
</Panel>
</Field>
</Field>

Expand Down
12 changes: 8 additions & 4 deletions src/plugins/recordTypes/collectionobject/forms/timebased.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ const template = (configContext) => {

<Field name="annotationGroupList" subpath="ns2:collectionobjects_annotation">
<Field name="annotationGroup">
<Field name="annotationType" />
<Field name="annotationNote" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
<Panel>
<Row>
<Field name="annotationType" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
</Row>
<Field name="annotationNote" />
</Panel>
</Field>
</Field>

Expand Down

0 comments on commit 7c383ab

Please sign in to comment.