TextBox with black background

0
0

I have a dark login dialog, a textbox with white forecolor and background color is black.

If the browser autofill the textboxes the background of the textbox is white and so you cant´t see the white text.

The textbox is filled, you can see it if you select the text. I have test it under Firefox and Edge.

Is there a solution for this?

Thanks, Dirk

Attachment
  • You must to post comments
0
0

Thanks Dirk for providing more details.

We have checked that issue and you can control the way that the autofill fields are displayed
by adding this to your default html (in head section)

<style>
 input:-webkit-autofill 
{ -webkit-text-fill-color: white !important; 
-webkit-box-shadow: 0 0 0px 1000px black inset !important; } 
</style>

Also make sure that your browser does not use a cached version of default.html
(hit CTRL+F5).

Best regards
Frank

  • Dirk Bozza
    Thanks Frank, it work´s fine!
  • You must to post comments
0
0

Here are the pictures and testproject.

  • You must to post comments
0
0

Dirk,

I have tried to reproduce this problem but it worked ok here. What browser are you using?
Can you please check it with a different browser to see if there is any difference?
Any chance to wrap up a small test case that helps us to reproduce that issue?

Thanks in advance!

Best regards
Frank

  • Dirk Bozza
    Hi Frank, I have test it with “Responsive” Example. I only change the panel background and TextBox background + forecolor. I use the actual FireFox on Win10, test it with Edge Win10 and I have published it on Azure and test it with Android Firefox on tablet. The result is the same at all. Backgroud is white, textcolor also. You can test it also at demo.mediadynamics.de
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.