Closed JanMikes closed 8 years ago
Neither this is working for me:
$image->getCheckbox()->getLabelPart()->setHtml("test");
I think it must works:
$image->getCheckbox()->caption = "foo";
Checkbox::$labelContent is only for global use, for example in bootstrap
@MartkCz this works thanks. Anyways i wanted to use the global variant and as you mentioned i am using it in bootstrap.php. Though in previous versions there was possibility to to change caption globally in extensions settings, what do you think about putting it back, since i think static access to property is not so clean.
Awesome, thank you!
Info about how to change checkbox's label "Delete this image?" would be nice.
This is what i tried and didnt work for me:
If i do this:
Checkbox::$labelContent = "test";
before adding input, it works. Though what is the best place to globally change this value for all inputs, bootstrap.php?