Hi All,
I want to restrict the manual input in DatePicker i tried disabled and editable as false. But its not working. How come we can achieve this..??
Hi Dennis Seah,
Its working fine. Thanks.
Hi Vinoth,
In css file , pl add the below code
.disablekb input{ pointer-events: none; color: transparent; text-shadow: 0 0 0 gray; }
In onBeforeRendering event ,add the below one .
<DatePicker id="DP1" placeholder="Enter Date ..."/>
onBeforeRendering:function(){ var that = this; that.getView().byId("DP1").addStyleClass('disbalekb'); }
Regards
Madhu