Jump to content

Recommended Posts

Posted

Hi,

You can use emptyCls config for this

1. CustomCSS:

.customEmptyCls {
    color: white;
}

2. beforeInit:

function beforeInit(sender, config)
{
    config.emptyCls='customEmptyCls';
}

 

  • Upvote 1
Posted

You can also add the following to CustomCSS for all placeholders:

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white !important;
    opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: white !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: white !important;
}

https://www.w3schools.com/howto/howto_css_placeholder.asp

  • Upvote 1
  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...