Skip to content

Textbox watermark not visible in Internet Explorer #1195

Closed

Description

@itg-assistant

Tobias asked 2017-11-01 15:58:25 UTC

I use the watermark property in some textbox controls but in IE 11 (11.608.15063.0) on Windows 10 the watermark text is not visible when the control has the focus. I've not tested with other Internet Explorer versions.
The WiseJ version used is 1.4.41.0

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-11-01 16:03:15 UTC

    It's visible when the input doesn't have the focus. It's the way IE shows the placeholder. I just tried with IE11 11.674.15063.0 but it was also visible (without the focus) in previous versions. I can see it with emulation IE10 as well.

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Tobias answered 2017-11-01 16:07:44 UTC

    That's correct. But in Firefox the watermark text is also displayed when the control has focus...
    I set focus to the first textbox so the user does not know what to enter if he does not see watermark text ...

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-11-01 16:15:26 UTC

    Works like that in Chrome and Edge too. IE10 and 11 handle the placeholder differently. The workarounds are all bad since they use the value instead of the placeholder. We use the native placeholder attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions