Defining Field for array of string values prop #68
Unanswered
sagarchoudhary96
asked this question in
Q&A
Replies: 2 comments 6 replies
-
If i'm understanding you correctly you can add this to your fields config: tags: {
type: "array",
getItemSummary: (item) => item.tag || "Tag",
arrayFields: {
tag: {type: "text"},
},
}, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Correct, we only support objects in If your component expects |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My component have a prop tags of array type but values as string for it ``tags: string[]` . how can i define Field config for this prop, seems like it's currently not supported.
Beta Was this translation helpful? Give feedback.
All reactions