How to add placeholder attribute to JSF input component?

后端 未结 9 916
耶瑟儿~
耶瑟儿~ 2020-11-28 09:19

Shouldn\'t this line of code render a inputtext field with the placeholder text \"fill me\" when using html5?


         


        
9条回答
  •  一生所求
    2020-11-28 09:49

    The simplest way to render an input field with a placeholder text is to use the elementary input tag

    Example:

    
    

    Note: you dont have to include any namespaces

提交回复
热议问题