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 8938b9e commit 5f8781eCopy full SHA for 5f8781e
src/components/form/templates/array-field-simple-item.ts
@@ -34,9 +34,11 @@ export class SimpleItemTemplate extends React.Component<SimpleItemProps> {
34
className: 'limel-form-array-item--simple',
35
},
36
this.props.item.children,
37
- this.props.allowItemRemoval ? this.renderRemoveButton(item) : null,
+ this.props.allowItemReorder
38
+ ? this.renderMoveDownButton(item)
39
+ : null,
40
this.props.allowItemReorder ? this.renderMoveUpButton(item) : null,
- this.props.allowItemReorder ? this.renderMoveDownButton(item) : null
41
+ this.props.allowItemRemoval ? this.renderRemoveButton(item) : null
42
);
43
}
44
0 commit comments