Announcement

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

    SGWT Mobile no FormItem.setCanEdit()?

    SGWT mobile version: 1.0 06/05/2012 09:30 -0700
    SGWT 3.0p
    GWT 2.4

    Hello,

    The FormItem class for mobile has no setCanEdit() method, what should we use to set an item as read-only?

    Thanks,
    Gael

    #2
    We'll be adding a setCanEdit method soon, in the meantime, it's possible to reach into the DOM and set the readOnly attribute:

    Code:
    textItem.getElement().<InputElement>cast().setReadOnly(true);
    textAreaItem.getElement().<TextAreaElement>cast().setReadOnly(true);

    Comment


      #3
      Thanks for this workaround

      Comment

      Working...
      X