Skip to content

Commit e15821b

Browse files
className accessing from schema
className accessing from schema instead of uiSchema
1 parent 73426f3 commit e15821b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/fields/ObjectField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class ObjectField extends Component {
6262
</div>
6363
);
6464
}
65-
const finalClass = (this.props.uiSchema && this.props.uiSchema.classNames)?this.props.uiSchema.classNames:"";
65+
const finalClass = (this.props.schema && this.props.schema.classNames)?this.props.schema.classNames:"";
6666
return (
6767
<div className={finalClass}>
6868
{title &&

0 commit comments

Comments
 (0)