0 Replies Latest reply on Oct 17, 2014 8:05 AM by Leonid Fomichev

    rich:placeholder value and input text

    Leonid Fomichev Newbie

      Is that a bug in rich:placeholder?

      <h:inputText id="input">

      <rich:placeholder value="Type text here..." />

      </h:inputText>  

      When i try to input text same as in placeholder it disappears.

      http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=placeholder

      Type in Input text placeholder suggest "Type text here..." — it disappears when leave input and focus in it again. Any other symbols stays.

      Is there any workaround?

       

      for example when using html5 placeholder:

      <input type="text" placeholder="Placeholder text">  this effect doesnt't exists.