mirror of
https://github.com/hexastack/hexabot
synced 2025-03-10 06:10:18 +00:00
Merge pull request #459 from Hexastack/fix/display-text-area-options-content-fields
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker NLU Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker NLU Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
fix: display contentType text-area fields in list block
This commit is contained in:
commit
84f25ecfb1
@ -214,7 +214,9 @@ const ListMessageForm = () => {
|
||||
return (
|
||||
<AutoCompleteSelect<ContentField, "label", false>
|
||||
options={(contentType?.fields || []).filter(
|
||||
({ type }) => ContentFieldType.TEXT === type,
|
||||
({ type }) =>
|
||||
ContentFieldType.TEXT === type ||
|
||||
ContentFieldType.TEXTAREA === type,
|
||||
)}
|
||||
idKey="name"
|
||||
labelKey="label"
|
||||
|
Loading…
Reference in New Issue
Block a user