mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 10:35:37 +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 (
|
||||
<AutoCompleteSelect<ContentField, "label", false>
|
||||
options={(contentType?.fields || []).filter(
|
||||
({ type }) =>
|
||||
ContentFieldType.TEXT === type ||
|
||||
ContentFieldType.TEXTAREA === type,
|
||||
({ type }) => ContentFieldType.TEXT === type,
|
||||
)}
|
||||
idKey="name"
|
||||
labelKey="label"
|
||||
|
Loading…
Reference in New Issue
Block a user