feat:contacts suggest field.

This commit is contained in:
elforjani3
2020-12-31 12:25:21 +02:00
parent 571ca6f387
commit 7038fd90e3
2 changed files with 109 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
import React, { useState, useCallback, useMemo } from 'react';
import React, { useCallback } from 'react';
import { FormGroup, Intent, Classes } from '@blueprintjs/core';
import classNames from 'classnames';
import { ContactSelecetList } from 'components';
import ContactsSuggestField from 'components/ContactsSuggestField';
export default function ContactsListCellRenderer({
column: { id },
@@ -30,7 +31,7 @@ export default function ContactsListCellRenderer({
Classes.FILL,
)}
>
<ContactSelecetList
<ContactsSuggestField
contactsList={contacts}
onContactSelected={handleContactSelected}
selectedContactId={original?.contact_id}