Hi,

DateTimeField is a FormComponentPanel and thus overrides #checkRequired() to always return true.

I'm not sure whether your usage is possible or even makes sense for a FormComponentPanel.

Regards
Sven


On 12.09.2016 17:40, ChambreNoire wrote:
Hello,

Quick question: When I attach a FeedbackPanel to a DateTimeField with
setRequired(true), the required message never shows in the feedback whereas
validators like DateValidator.maximum work fineā€¦

Any ideas?

Thanks

CN

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Required-DateTimeField-not-showing-is-required-feedback-tp4675499.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to