You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: Is canAddElements available for use yet? #698
Hi, I have a question about the canAddElements property in the array field.
I have a use case where I need to dynamically enable or disable the Add button. However, when I add this property, it behaves as shown in the image below.
Is this property currently available for use? If not, is there another way to dynamically enable or disable the Add button?
I’d like to investigate this. RepeatFieldBinding respects property.canAddElements, but BlockFieldBinding appears to ignore it for oneOf arrays. I’ll reproduce on current main and, if confirmed, submit a focused fix with regression coverage. Would this scope be welcome?
Activity
fgatti675 commentedon Mar 28, 2025
donlawatch commentedon Apr 3, 2025
Thank you 😄
abrahamjeron commentedon Oct 30, 2026
I’d like to investigate this. RepeatFieldBinding respects
property.canAddElements, but BlockFieldBinding appears to ignore it foroneOfarrays. I’ll reproduce on current main and, if confirmed, submit a focused fix with regression coverage. Would this scope be welcome?fgatti675 commentedon Oct 31, 2026
Thank you,checking this