on 06-11-2017 7:58 AM
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..??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.