GwtMaterialDesign / gwt-material

A Google Material Design wrapper for GWT
https://gwtmaterialdesign.github.io/gmd-core-demo/
Apache License 2.0
411 stars 124 forks source link

MaterialCheckBox Constructor does not work #923

Open sdhaliwal opened 5 years ago

sdhaliwal commented 5 years ago
public MaterialCheckBox(SafeHtml label) {
    super(label);
}

When this constructor is called. It is rendering SafeHtml as text. A workaround for this is to use the constructor.

public MaterialCheckBox(SafeHtml label, DirectionEstimator directionEstimator) {
    super(label, directionEstimator);
}

This is happening in gwt-material 2.2.

kevzlou7979 commented 4 years ago

Can you elaborate more about the sample on whats happening if you use the above constructor?