Hi,
when I try to set the checkbox label using this method (checkBox.setLabelAsHtml) and then if I try to access the label using checkBox.getLabel() I am not getting anything back! Is this a bug?
Checkbox checkBox = new Checkbox(todoField.getValue());
checkBox.addValueChangeListener(valueChangeEvent->{
if(valueChangeEvent.getValue()){
checkBox.setLabelAsHtml("<strike>"+checkBox.getLabel()+"</strike>");
}else{
checkBox.setLabel(checkBox.getLabel());
}
});