Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FormItem placeholder

    Hello,
    I´m working with smartgwt power version 3.1d and i want to know how can i add the propertie "placeholder" to a TextItem.

    im just creating a dynamicform with textItems and need to add the propertie to the html generated with smartgwt to his items.

    Thanks

    #2
    Hint+showHintInField has equivalent behavior (and the HTML placeholder attribute isn't universally supported).

    Comment


      #3
      It would be great to get this property in SC too. 2 years since the initial request and most of the common browser should support it today.

      Hint + showHintInField is not the same. If the input field becomes the focus you don't see the hint message anymore.

      Comment


        #4
        Since 10.0, showHintInField is implemented via the HTML5 placeholder attribute in browsers where it works, so the hint remains in the field until you actually start typing.

        Comment

        Working...
        X