Skip to content

Issue with Creating Custom Separator Field Based on GroupElement #109

Answered by adamberecz
fisher06 asked this question in Questions
Discussion options

You must be logged in to vote

Thanks for the explanation, now I understand what you are looking to achieve.

Question: how essential is it for you to have the type as separator? I'm asking because creating new container types (like group and object) is currently not supported in the builder. So if that's a must it's something that needs to be implemented from the builder side first — I dropped it into the idea pool because it might be useful for others as well.

Currently what you can do is to create an alternative view for the group or object element type (group doesn't nest data, object does) and define your separator element's schema like this:

schema: {
  type: 'group',
  view: 'separator'
}

The next thing you need …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fisher06
Comment options

@adamberecz
Comment options

Answer selected by fisher06
@fisher06
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants