Announcement

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

    Hide ColorPickerItem Text

    Hi,

    We are usign GWT 2.8.2 and SmartGWT 6.1-p20180801 power edition.

    Is it possible to hide/remove the text input area from a ColorPickerItem? Or can I set a property on the ColorPicker so that it displays only color swatch?

    I looked through the docs, but I couldn't find anything that looked like this property.

    Thanks

    #2
    Any update?

    Comment


      #3
      Sorry for the silence - we agree that this isn't easy to achieve by default and currently have our development team looking at a possible feature to handle it. We will follow up when we have a resolution for you

      Regards
      Isomorphic Software

      Comment


        #4
        We've added a new attribute, TextItem/TextAreaItem.showInputElement - if this is set to false, the text-entry portion of those classes, and subclasses like ColorItem, won't be added to the DOM. In such cases, you can set the item's width to null in order to have it shrink to fit the pickerIcon, as in ColorItem.

        As a rule, we don't backport new features to older branches, so this new feature is currently only in 12.0 and 12.1.

        Is it possible for you to upgrade to 12.0?
        Last edited by Isomorphic; 1 Sep 2018, 09:25.

        Comment

        Working...
        X