We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3726311 commit 58924bbCopy full SHA for 58924bb
src/main/java/gwt/material/design/client/ui/MaterialTextBox.java
@@ -73,7 +73,9 @@ public MaterialTextBox() {
73
protected void onAttach() {
74
// TODO Auto-generated method stub
75
super.onAttach();
76
- customLabel.getElement().setAttribute("for", "field");
+ String name = String.valueOf(hashCode());
77
+ txtBox.getElement().setId(name);
78
+ customLabel.getElement().setAttribute("for", name);
79
}
80
81
0 commit comments