mirror of
https://github.com/hexastack/hexabot
synced 2025-05-10 23:50:52 +00:00
Update frontend/src/components/visual-editor/form/ListMessageForm.tsx
This commit is contained in:
parent
04cbf25cc9
commit
36b9a32655
@ -186,9 +186,7 @@ const ListMessageForm = () => {
|
|||||||
return (
|
return (
|
||||||
<AutoCompleteSelect<ContentField, "label", false>
|
<AutoCompleteSelect<ContentField, "label", false>
|
||||||
options={(contentType?.fields || []).filter(
|
options={(contentType?.fields || []).filter(
|
||||||
({ type }) =>
|
({ type }) => ContentFieldType.TEXT === type,
|
||||||
ContentFieldType.TEXT === type ||
|
|
||||||
ContentFieldType.TEXTAREA === type,
|
|
||||||
)}
|
)}
|
||||||
idKey="name"
|
idKey="name"
|
||||||
labelKey="label"
|
labelKey="label"
|
||||||
|
Loading…
Reference in New Issue
Block a user