Skip to content

No group output available? --cfg-group-output: 1? #336

Answered by nd0ut
mnoesel asked this question in blocks
Discussion options

You must be logged in to vote

Hey @mnoesel,

you could enable group output with css:

.config {
  --ctx-name: 'my-uploader';
  --cfg-group-output: 1;
}

and then consume it from the <lr-data-output /> block:

<lr-data-output id="output" class="config" use-event></lr-data-output>
document.querySelector('#output').addEventListener('lr-data-output', (e) => {
  console.log(e.detail.data.groupData.uuid)
})

Note that for now, the group info won't be updated after using the image editor.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by loookashow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
blocks
Labels
None yet
2 participants