From 305710773318be811512e31d000fff197b75876b Mon Sep 17 00:00:00 2001 From: Umang darji Date: Fri, 24 Jul 2020 09:56:33 +0530 Subject: [PATCH] SubTitle Fix --- src/components/IterableEditComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/IterableEditComponent.tsx b/src/components/IterableEditComponent.tsx index 2841b47..9ae2f2c 100644 --- a/src/components/IterableEditComponent.tsx +++ b/src/components/IterableEditComponent.tsx @@ -131,7 +131,7 @@ export class IterableEditComponent extends React.Component { let subTitle = "" if (this.props.field.iterabletype.hasOwnProperty("subtitleFn")) { - subTitle = this.props.field.iterabletype.subtitleFn(this.state.model) + subTitle = this.props.field.iterabletype.subtitleFn(this.state.model[index]) return subTitle } if (isEmpty(this.state.model[index])) {