fix date-picker: move isDefined checking to controller
fix date-picker: move isDefined checking to controller

clementprevot/lumX,bijeeshtk/lumx,bijeeshtk/lumx,noikiy/lumX,cupceavictor/lumX,cupceavictor/lumX,terradatum/lumX,jefvel/lumX,itxd/lumX,jayaguilar/lumX,ezzye/write-to-be-heard,Ener-Getick/lumX,lumapps/lumX,b-cuts/lumX,Ener-Getick/lumX,terradatum/lumX,lumapps/lumX,b-cuts/lumX,daniel-oliveiravas/lumX,noikiy/lumX,hinablue/lumX,bright-sparks/lumX,jason588/lumX,jayaguilar/lumX,clementprevot/lumX,bijeeshtk/lumx,ezzye/write-to-be-heard,clementprevot/lumX,ezzye/write-to-be-heard,daniel-oliveiravas/lumX,lumapps/lumX,Ener-Getick/lumX,jefvel/lumX,jefvel/lumX,jason588/lumX,b-cuts/lumX,terradatum/lumX,b-cuts/lumX,ezzye/write-to-be-heard,bright-sparks/lumX,lumapps/lumX,hinablue/lumX,daniel-oliveiravas/lumX,cupceavictor/lumX,terradatum/lumX,bijeeshtk/lumx,Ener-Getick/lumX,jefvel/lumX,daniel-oliveiravas/lumX,itxd/lumX,cupceavictor/lumX,jason588/lumX,noikiy/lumX,noikiy/lumX,jayaguilar/lumX,bright-sparks/lumX,jayaguilar/lumX,clementprevot/lumX,jason588/lumX,hinablue/lumX,itxd/lumX,bright-sparks/lumX,hinablue/lumX,itxd/lumX