We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d1db9 commit bda4993Copy full SHA for bda4993
src/controls/dynamicForm/DynamicForm.tsx
@@ -230,7 +230,9 @@ export class DynamicFormBase extends React.Component<
230
<>
231
<h2 className={styles.sectionTitle}>{section.displayname}</h2>
232
<div className={styles.sectionFormFields}>
233
- {section.fields.map((f, i) => (
+ {section.fields
234
+ .filter(f => fieldCollection.find(fc => fc.label === f))
235
+ .map((f, i) => (
236
<div key={f} className={styles.sectionFormField}>
237
{this.renderField(fieldCollection.find(fc => fc.label === f) as IDynamicFieldProps)}
238
</div>
0 commit comments