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 9ab7000 commit 43569f5Copy full SHA for 43569f5
src/test/java/com/flowingcode/vaadin/addons/googlemaps/AddMarkersDemo.java
@@ -120,6 +120,10 @@ protected void createGoogleMapsDemo(String apiKey) {
120
}
121
122
if(withLabel.getValue()) {
123
+ if(labelText.getValue().isEmpty()) {
124
+ Notification.show("Please select a label for the marker");
125
+ return;
126
+ }
127
MarkerLabel label = new MarkerLabel(labelText.getValue());
128
label.setColor("white");
129
label.setFontWeight("bold");
0 commit comments