Contentful logo

Contentful Community

Required field by contentful SDK

Hello,
I want make field required according to a condition.
I tried this.props.sdk.field.required = true; but no results.
Can someone help me please?
Thanks.