Hezron
(Hezron Developer)
May 14, 2025, 6:17am
1
Greetings all,
Has anyone experienced the attached error?
What could be the cause?
My app suddenly displays this when i want to select date.
My declaration of the component is like this;
…
//some code here
private final DatePicker dateFilter =. new new DatePicker();
…
//some other code here
Thanks
ollit.1
(Olli Tietäväinen)
May 14, 2025, 6:23am
2
I tried your code but couldn’t reproduce the error. Can you create a minimal standalone project that reproduces the issue? Thanks in advance!
1 Like
Hezron
(Hezron Developer)
May 14, 2025, 7:17pm
3
Hello Olli,
Thanks for your response.
Here is a snippet of the DatePicker Component.
I have included the version of vaadin in use.
knoobie
(Christian Knoop)
May 15, 2025, 5:22am
4
Browser and OS version might be really interesting as well - it looks like a client side problem tho
You might as well open an Issue on GitHub at the web-components repository
Hezron
(Hezron Developer)
May 15, 2025, 5:44am
5
I have tested on three different up-to-date browsers nothing changed.
I’m running on a macOs which is up to date.
ollit.1
(Olli Tietäväinen)
May 15, 2025, 6:17am
6
Still can’t reproduce the issue. Here’s the sample project I used: GitHub - OlliTietavainenVaadin/v23-spring-starter
Looks like this:
1 Like
Leif
(Leif Åstrand)
May 15, 2025, 6:40am
7
Do you have any custom CSS, or Vaadin add-ons, or other 3rd party JavaScript modules in your application?
Hezron
(Hezron Developer)
May 15, 2025, 6:48am
8
Thank you Olli,
Let me take a look at your sample project.
Hezron
(Hezron Developer)
May 15, 2025, 7:50am
9
Yes i do have custom css and a JavaScript for loading device camera.
Could the issue emanate from within this?
Let me review my recent Css changes and revert.
Leif
(Leif Åstrand)
May 15, 2025, 8:04am
10
Can really be anything. The key point is that there seems to be something specific to your application since Olli couldn’t reproduce it in his example application. And in that case, interference from custom CSS or JS are the most likely explanations.
1 Like
Hezron
(Hezron Developer)
May 15, 2025, 8:10am
11
Thanks for your input, reviewing my code