Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

paste in form field cordova app

/******************
disable select touch and hold and highlight colors, 
also you can set that in a specific form field
******************/
html {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
/* and if you still want it to work for input then just add */
input {
    -webkit-user-select: auto !important;
    -webkit-touch-callout: default !important;
}
 
PREVIOUS NEXT
Tagged: #paste #form #field #cordova #app
ADD COMMENT
Topic
Name
8+1 =