NXP-11705: fix styleClass property management on datetime widget