Customize Watermark text

4 Sep 20181 minute to read

The watermark text specifies a short hint that describes the expected value of the input field. This can be achieved by using the “data-ej-watermarktext” attribute.

Refer to the following code example.

  • HTML
  • <textarea id="textarea" data-role="ejmtextarea" data-ej-watermarktext="TextArea" ></textarea>

    The following screenshot displays the customization of the text with Watermarktext Property.