1 Reply Latest reply on Jul 21, 2010 8:06 AM by Ilya Shaikovsky

    Does suggestionbox have a placeholder tag?

    Edilmar Alves Expert

      Hi,

       

      I use RichFaces 3.3.3, and I would like to put a placeholder description into suggestionbox components, something like "Type your search here...". Then, when the user would type something into this comp, the description would disappear automatically, reappear if the user would go to other comp without typing anything.

        • 1. Re: Does suggestionbox have a placeholder tag?
          Ilya Shaikovsky Master

          as our suggestion box do not provides the own input but just attaches to external ones - no way with current impl. You could create custom behavior which will erase such text on focusing the needed input and inserting on bluring without value set. (But there will be some problems as blur could appear not just to other form elements but could be called on onoperations with suggestions list )