From 854df9d6626d9dbfb9bbf911f7293b9cdb763eb8 Mon Sep 17 00:00:00 2001 From: dzonidoo Date: Fri, 20 Oct 2023 15:40:21 +0200 Subject: [PATCH] add initValue prop --- scripts/apps/contacts/components/Form/ProfileDetail.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/apps/contacts/components/Form/ProfileDetail.tsx b/scripts/apps/contacts/components/Form/ProfileDetail.tsx index 56eed1f74b..df4ee3ff12 100644 --- a/scripts/apps/contacts/components/Form/ProfileDetail.tsx +++ b/scripts/apps/contacts/components/Form/ProfileDetail.tsx @@ -335,6 +335,7 @@ export class ProfileDetail extends React.PureComponent { field="organisation" label={gettext('Organisation')} value={this.state.orgValue} + initValue onChange={this.handleOrgChange} querySearch={true} onQuerySearch={((text) => this.getSearchResult('organisation', text))}