SaaS CMS has officially launched! Learn more now.

When using a Block as a property, depending on where is used it displays the inherit fields


I have created successfully a block to be used a property type. When I use it inside another block it works as expected and shows the fields I set, but if the block is a child of another block(the one that opens in a modal) it shows all inherit properties from BlockData. Any ideas on this?

Oct 29, 2021 14:45

Personally I would stick away from using Blocks for properties. It make the UI look off with the grouping and you can get in to issues when changing the block model which I've had many times before due to the syncronization system. Much better IMO to inherit or define interfaces for property reuse.

Oct 31, 2021 21:47

I did not understand what you are trying to do.

You use a block as a property, i.e. as a local block. That works fine.

You use nested local blocks as properties, i.e. local block inside local block, and then there is an issue?

Nov 01, 2021 8:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.