diff --git a/src/main/java/com/flowingcode/addons/ycalendar/InlineDatePicker.java b/src/main/java/com/flowingcode/addons/ycalendar/InlineDatePicker.java index 7765b13..5e3582b 100644 --- a/src/main/java/com/flowingcode/addons/ycalendar/InlineDatePicker.java +++ b/src/main/java/com/flowingcode/addons/ycalendar/InlineDatePicker.java @@ -42,6 +42,7 @@ private static SerializableFunction map(SerializableFunction f) public InlineDatePicker() { super(VALUE_PROPERTY, null, String.class, map(LocalDate::parse), map(LocalDate::toString)); setValue(LocalDate.now()); + setWeekNumbersVisible(true); } /** diff --git a/src/main/resources/META-INF/frontend/fc-inline-date-picker/fc-inline-date-picker.js b/src/main/resources/META-INF/frontend/fc-inline-date-picker/fc-inline-date-picker.js index 295fe2e..529d076 100644 --- a/src/main/resources/META-INF/frontend/fc-inline-date-picker/fc-inline-date-picker.js +++ b/src/main/resources/META-INF/frontend/fc-inline-date-picker/fc-inline-date-picker.js @@ -78,7 +78,8 @@ export class InlineDatePicker extends LitElement { render() { return html` - + `; }