label-studio
label-studio copied to clipboard
Choice pre-selection does not work if `perRegion` is set
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
Please, don't check it in playground - it's outdated. Doesn't it work in the latest LS version?
Has this been fixed? after v1.8.0?
Hi, any updates on this?
Hi, seems this is still happening.
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!