Skip to content

Commit 92bb1e8

Browse files
committed
ui: forms - fixes wrong description passed
Signed-off-by: Pamfilos Fokianos <pamfilosf@gmail.com>
1 parent ac90f1a commit 92bb1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/cap-react/src/components/drafts/form/themes/grommet/templates/ArrayFieldTemplate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class ArrayFieldTemplate extends React.Component {
260260
title={this.props.title}
261261
required={this.props.required}
262262
readonly={this.props.readonly}
263-
description={this.props.description}
263+
description={this.props.schema && this.props.schema.description}
264264
onArrayAddClick={this._onAddClick.bind(this)}
265265
pasteable={this.uiOptionImport}
266266
enableImport={this.uiOptionImport && this._enableImport}

0 commit comments

Comments
 (0)