Just wanted to follow up on this plus an add-on question
I just noticed that i can only add 12 attributes to a block. Can this number be increased or is this an limitation on Gutenberg Blocks and the amount of attributes they hold?
Oke great! Don’t think i will ever need to go above 24. But super helpful that i can add more then 12 in the next release.
Could you also please respond to my initial question about the conditionals on block attributes? That is something i really hope that is possible. Especially if i ever have to go to 24 attributes then showing them conditionally would be awesome!
Yes, conditionals would be great. Not just based on attribute values, but also on user roles / capabilities. That would let us make certain attributes editable only to specified users. I’m thinking about how to implement this in an elegant way.
Is this something that Pinegrow is already doing while registering blocks? Just thought i would share it with you since it might make it easier to register settings and attributes? Or might make it easier to have more attributes/have conditionals?