Hi,
I can’t get the calender to render using the sample code (the layout is blank). I’m using Vaadin 22.02 and I see the following exception in the console:
Uncaught TypeError: this._setStyleForDay is not a function
Can you help?
Hi,
I can’t get the calender to render using the sample code (the layout is blank). I’m using Vaadin 22.02 and I see the following exception in the console:
Uncaught TypeError: this._setStyleForDay is not a function
Can you help?
Hi Stephen, if you’re using Spring, please try updating the vaadin.whitelisted-packages property in your application.properties file to include com.flowingcode. It would look something like this:
vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,com.example.application,com.flowingcode
You can find more information about Vaadin & Spring properties [here]
(https://vaadin.com/docs/latest/flow/integrations/spring/configuration#special-configuration-parameters).
Hope this helps. Let me know how it goes.
Regards.
Hi Paola,
Thanks very much, that worked nicely.
I had been incorrectly using “org.vaadin.addons.flowingcode” in whitelisted packages.
Regards,
Stephen