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