restrictTypeSelection for an array #201
martinablazheska
started this conversation in
General
Replies: 1 comment
-
Hi @martinablazheska, thanks for dropping by. You can configure the restrictTypeSelection = (({ parentData }) => {
if (Array.isArray(parentData)) return ['string']
return false
}) You can see all the available input properties of the Hope that helps, please let me know if you need any further assistance. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry if this is the wrong place to ask this question, I've been trying to find an answer to this for days now.
How do I restrict the type selection (in my case just 'string' is necessary) for new elements added to an array?
Beta Was this translation helpful? Give feedback.
All reactions