Hi, i am trying to access the options and labels of a custom block´s select field:
name: MyBlock
fields:
decoration_pattern:
type: select
default: none
options:
none: None
pattern-dotts-black: Black Dotts
pattern-dotts-white: White Dotts
For now I can only access the selected value in my vue-component like:
this.content.decoration_pattern
How can i access all the options and the labels and don´t repeat myself inside the block-vue-component?
Cheers
Peter