label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Choice pre-selection does not work if `perRegion` is set

Open tdszyman opened this issue 2 years ago • 6 comments

Normally setting selected="true" in a Choice element will pre-select that choice. However, this does not work if the perRegion="true" flag is also set.

This was mentioned in another issue, and the playground example illustrates the bug:

Hi, @sfczekalski ! There is selected="true" parameter for Choice that preselects one of checkboxes (check docs). Is that what you're looking for ?

Seems not work when perRegion is true, check this playground.

Originally posted by @function2-llx in https://github.com/heartexlabs/label-studio/issues/538#issuecomment-894910439

tdszyman avatar Mar 14 '22 22:03 tdszyman

Please, don't check it in playground - it's outdated. Doesn't it work in the latest LS version?

makseq avatar Mar 15 '22 00:03 makseq

Has this been fixed? after v1.8.0?

Erik262 avatar Oct 15 '23 19:10 Erik262

Hi, any updates on this?

imaginaryBuddy avatar Mar 16 '24 11:03 imaginaryBuddy

Hi, seems this is still happening.

Tomik292 avatar Apr 18 '24 09:04 Tomik292

Hey all! selected=true was not intended to work with perRegion, so we consider this as a feature request. Basically we have to create a hidden result for every created eligible region. We'll look into it, thank you!

hlomzik avatar May 23 '24 12:05 hlomzik

/jira create story LEAP

Workflow run Jira issue LEAP-1103 is created

hlomzik avatar May 23 '24 12:05 hlomzik